Re: [Numpy-discussion] numpy.ma question

2008-04-30 Thread Pierre GM
On Wednesday 30 April 2008 15:25:43 Charles Doutriaux wrote: > that's exactly my understanding thanks for confirming Fixed in 1.1.0dev5114 ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discus

Re: [Numpy-discussion] numpy.ma question

2008-04-30 Thread Charles Doutriaux
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 s

Re: [Numpy-discussion] numpy.ma question

2008-04-30 Thread Pierre GM
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] numpy.ma question

2008-04-30 Thread Charles Doutriaux
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.dev