Known issue, I think someone posted about it a while ago too. The numpy min is array aware, and it expects an array. The second argument is the axis, which in the case of a single number doesn't matter.
On Tue, 2009-11-17 at 07:07 +0000, Chris wrote: > I'm pretty sure this shouldn't happen: > > In [1]: from numpy import min > > In [2]: min(5000, 4) > Out[2]: 5000 > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion