On Nov 6, 2007 8:22 AM, Lisandro Dalcin <[EMAIL PROTECTED]> wrote: > Mmm... > It looks as it 'mask' is being inernally converted from > [True, False, False, False, True] > to > [1, 0, 0, 0, 1]
Yep, clearly. The question is: is this the desired behavior because it leads to a "silent failure" for people who are expecting sequences of booleans to behave like arrays of booleans. JDH _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
