Bug 475995

Summary: randint give a wrong anware compared ro random_integers in numpy.
Product: [Fedora] Fedora Reporter: Knut J BJuland <knutjbj>
Component: numpyAssignee: Gwyn Ciesla <gwync>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: gwync, jarod, jspaleta, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-11 14:51:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A python file which show a bug in numpy.random.randint. none

Description Knut J BJuland 2008-12-11 14:10:46 UTC
Created attachment 326619 [details]
A python file which show a bug in numpy.random.randint.

Description of problem:
When I use numpy.random.randint to simulat a game with dice it give the wrong ansaw compared to numpy.random.random_integers. I get a differetnt ansawer with randint. 

Version-Release number of selected component (if applicable):
1.2.0-1.fc10

How reproducible:
Everytime

Steps to Reproduce:
1. run the attament to se.
2.  
3.
  
Actual results:
randint and random_integer should give the same ansawer.

Expected results:


Additional info:

Comment 1 Knut J BJuland 2008-12-11 14:50:57 UTC
It was not a bug. Since randint and random_intefers use different upper limits.