On Wed, Nov 11, 2009 at 02:30, Sebastian Haase <[email protected]> wrote: > Hi, > maybe this is an obsolete concern, > but at some point in the past > N.random.poisson would not always return 0 for lambda being zero. > (My post at the time should be in the (numarray) list archive) > > So the question is, is this still a valid concern for the current numpy?
No. > Could there a unittest added that does something like this: > >>>> a=N.random.poisson(0, 10000) >>>> N.alltrue(a==0) > True Write up a patch. -- 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 _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
