[Numpy-discussion] numpy.random.permutation bug?

Keith Goodman kwgoodman at gmail.com
Thu Jan 18 12:57:49 EST 2007

On 1/18/07, Robert Kern <robert.kern at gmail.com> wrote:
> Yes. 1.2 is not an integer. In Emanuele's example, a.sum() was an integer,
> though not an int.

Sorry, but I'm still confused. Does that mean that this is the
expected behaviour?

>> numpy.random.permutation(1)


>> numpy.random.permutation(1.2)

should raise an error?

More information about the NumPy-Discussion mailing list