[SciPy-dev] bug in scipy.stats.norm.cdf ?

Fernando Perez fperez.net@gmail....
Sun Mar 4 16:53:31 CST 2007


On 3/4/07, eric jones <eric@enthought.com> wrote:
> It looks like it works with latest install of Python -- Enthought
> Edition on WinXP.  This is python 2.4.3.

Looks OK here too:

In [8]: c.erf(x)
Out[8]:
array([-0.99997791, -0.9999589 , -0.99992499, -0.99986567, -0.99976397,
       -0.99959305, -0.99931149, -0.99885682, -0.99813715, -0.99702053])

In [9]: x[5]
Out[9]: -2.5

In [10]: c.erf(x[5])
Out[10]: -0.999593047983

In [11]: c.erf(-2.5)
Out[11]: -0.999593047983

In [12]: import numpy

In [13]: numpy.__version__
Out[13]: '1.0.2.dev3569'

In [14]: scipy.__version__
Out[14]: '0.5.3.dev2819'


Ubuntu Edgy on x86, built from SVN right this minute.  GCC is 4.1.2.

Cheers,

f


More information about the Scipy-dev mailing list