Hello i have a quick question about MA ans scalar the following works: import numpy.ma as MA a0= MA.array(0)/1 a1= MA.array((0,0))/1 but not: import numpy.ma as MA a0= MA.array(0)/0 a1= MA.array((0,0))/0 Is that a bug ? I'm using numpy 1.0.5.dev4958 and also whats in trunk right now (1.1.0.dev5113) C.
that's exactly my understanding thanks for confirming C. Pierre GM wrote:
Charles,
but not: import numpy.ma as MA a0= MA.array(0)/0 a1= MA.array((0,0))/0
Is that a bug ?
That a0 is MA.masked is not a bug. That a1 should be a (2,) array masked everywhere should work, but does not: that's the bug. Thanks for reporting.
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Charles Doutriaux
-
Pierre GM