[Numpy-discussion] oldnumeric.MA behaviour broken ?

Charles Doutriaux doutriaux1 at llnl.gov
Wed Apr 30 14:35:38 EDT 2008


HI,

import numpy.oldnumeric.ma as MA
a0= MA.array(0)/0
sh0=list(a0.shape)
sh0.insert(0,1)
b0=MA.resize(a0,sh0)

Does not work anymore, I believe it used to work

It does works using numpy.ma  (but i can't subclass these yet...)

C.




More information about the NumPy-Discussion mailing list