> On Thu, Dec 5, 2013 at 8:05 PM, Alan G Isaac
> <alan.is...@gmail.com> wrote:
>> For + and * (and thus `dot`), this will "fix" something that is not broken.
>> It is in fact in conformance with a large literature on boolean arrays
>> and boolean matrices.

On 12/6/2013 3:24 AM, Nathaniel Smith wrote:
> Interesting point! I had assumed that dot() just upcast! But what do
> you think about the inconsistency between sum() and dot() on bool
> arrays?


I don't like the behavior of sum on bool arrays.
(I.e., automatic upcasting.)
But I do not suggest changing it,
as much code is likely to depend on it.

Cheers,
Alan

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

Reply via email to