On 2 Oct 2013 21:19, "Charles R Harris" <charlesr.har...@gmail.com> wrote: > > > The main problem I had was deciding what arg{max, min} should return as the return value is an integer. I like your suggestion of returning 0.
This doesn't allow the user to know the difference between valid and" invalid" output, does it? > One further possibility is to add a keyword 'raise' to make the behavior selectable. Preferably just pick a sensible default. Stéfan
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion