Nathaniel Smith <n...@pobox.com> wrote:
> Perhaps integer power should raise an error on negative powers? That way
> people will at least be directed to use arr ** -1.0 instead of silently
> getting nonsense from arr ** -1. 

That sounds far better than silently returning errorneous results.

Sturla

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to