[Numpy-discussion] numpy.ma question

Charles Doutriaux doutriaux1@llnl....
Wed Apr 30 13:34:00 CDT 2008


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.




More information about the Numpy-discussion mailing list