[Numpy-discussion] masked_equal not commutative

Charles Doutriaux doutriaux1@llnl....
Tue Aug 12 13:18:12 CDT 2008


As always as i clicked send i realized my error
it is indeed not commutative and that makes sense
but i'm not sure the case:
numpy.ma.masked_equal(1,a)

should have worked, since we don't really know how to do this 
comparison, the only thing that could make sense would be commutation 
but i thinks it's probably dangerous to assume what the user wants to do.

C.


More information about the Numpy-discussion mailing list