On 1/18/07, Robert Kern <[EMAIL PROTECTED]> 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) array([0]) whereas >> numpy.random.permutation(1.2) should raise an error? _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion