On 1/18/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Keith Goodman wrote: > > I don't think that bug is particular to int32. For example: > > > >>> numpy.random.permutation(1.2) > > TypeError: len() of unsized object > > Well, that should raise an error, though maybe not that error.
Is my example any different than the one given by Emanuele? He passed in a.sum(). >> numpy.random.permutation(1) array([0]) >> numpy.random.permutation(1.2) TypeError: len() of unsized object _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion