[SciPy-user] looking for a negative binomial distribution

Anand Patil anand.prabhakar.patil at gmail.com
Thu Aug 28 12:06:26 EDT 2008


I'm getting another issue:
In [4]: numpy.random.geometric(0)
Out[4]: -2147483648

In [5]: numpy.random.geometric(1e-13)
Out[5]: -2147483648

but am using 1.2.0.dev5418, not the svn head. Does anyone get this with the
svn head?

Anand

On Sat, Aug 23, 2008 at 7:15 AM, Robert Kern <robert.kern at gmail.com> wrote:

> On Fri, Aug 22, 2008 at 21:58, Chris Fonnesbeck <listservs at mac.com> wrote:
> > I notice in the scipy dev wiki that the negative binomial random number
> > generator is broken. In particular, it appears to round the first
> parameter,
> > which is incorrect -- any real number is valid, not just integers.
>
> Fixed in numpy SVN. This will be part of the upcoming 1.2.0 release
> and probably 1.1.2 if we do one.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080828/8f4e1b93/attachment.html>


More information about the SciPy-User mailing list