[Numpy-discussion] RandomArray difference between Python2.1 and 2.2?
Pearu Peterson
pearu at cens.ioc.ee
Thu Apr 4 18:51:36 EST 2002
On Thu, 4 Apr 2002, Ray Drew wrote:
> Python 2.2, Numpy version='20.3'
>
> Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
> Type "copyright", "credits" or "license" for more information.
> IDLE 0.8 -- press F1 for help
> >>> from RandomArray import *
> >>> normal(3., 1., (5,))
> array([-3.78572679, -3.63714516, -3.01228334, -4.80211985, -2.57420304])
>
> Why am I getting negative values with Python 2.2? This happens consistently.
> Any help would be appreciated.
This is a bug in Numpy 20.3 and should be fixed in Numpy 21.0.
Pearu
More information about the NumPy-Discussion
mailing list