On Wed, Oct 6, 2010 at 3:10 PM, Alan G Isaac <[email protected]> wrote:

> Integer exponentiation fails (i.e., changes type)
> with boolean dtype.  See below. Expected?
>
>
Power isn't defined for booleans, I mean, who exponentiates booleans ;) What
would you want in it's place? For consistancy, a**0 == all_true, a**i == a,
i > 0?

Chuck
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to