Red Hat Bugzilla – Bug 475995
randint give a wrong anware compared ro random_integers in numpy.
Last modified: 2008-12-11 09:51:25 EST
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):
Steps to Reproduce:
1. run the attament to se.
randint and random_integer should give the same ansawer.
It was not a bug. Since randint and random_intefers use different upper limits.