I find that "numpy.max(0, 1e-6) == 0" is confusing, because it makes bugs hard to spot. The doc says that the second argument to max is an optional integer. My bad.
But could the function raise an error if it is passed an invalid 'axis' argument? That would have helped. James -- http://www-etud.iro.umontreal.ca/~bergstrj<http://www-etud.iro.umontreal.ca/%7Ebergstrj>
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
