[Numpy-discussion] unittest for np.random.poisson with lambda=0

Robert Kern robert.kern at gmail.com
Wed Nov 11 16:51:14 EST 2009


On Wed, Nov 11, 2009 at 15:47, Sebastian Haase <seb.haase at gmail.com> wrote:
> Thanks Robert,
> Just for the archive: I hope the problem I was thinking of is what is
> referred to here:
> http://mail.scipy.org/pipermail/numpy-discussion/2005-July/004992.html
> i.e. it should have been fixed as bug #1123145 in Numeric.
>
> (see also here:
> https://nanohub.org/infrastructure/rappture-runtime/browser/trunk/Numeric-24.2/changes.txt?rev=42
> )

The PRNG is completely different in numpy.

> I still haven't learned how to write unittests .... (sorry)

If this issue is important to you, now might be a good time to start.

-- 
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



More information about the NumPy-Discussion mailing list