Re: [Numpy-discussion] numpy.ma bug: need sanity check in masked_where

2008-03-18 Thread Stéfan van der Walt
Hi Pierre Thanks for your fix for #703. Unfortunately, it seems to have broken some tests: http://buildbot.scipy.org/builders/Windows_XP_x86_MSVC/builds/276/steps/shell_2/logs/stdio Regards Stéfan On Mon, Mar 17, 2008 at 7:26 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Pierre, > > I just tri

Re: [Numpy-discussion] numpy.ma bug: need sanity check in masked_where

2008-03-17 Thread Eric Firing
Charles R Harris wrote: > File a ticket. #703 Eric > > On Mon, Mar 17, 2008 at 12:26 PM, Eric Firing <[EMAIL PROTECTED] > > wrote: > > Pierre, > > I just tripped over what boils down to the sequence given below. It > would be useful if the error in line

Re: [Numpy-discussion] numpy.ma bug: need sanity check in masked_where

2008-03-17 Thread Charles R Harris
File a ticket. On Mon, Mar 17, 2008 at 12:26 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Pierre, > > I just tripped over what boils down to the sequence given below. It > would be useful if the error in line 53 were trapped right away; as it > is, it results in a masked array that looks reasona

[Numpy-discussion] numpy.ma bug: need sanity check in masked_where

2008-03-17 Thread Eric Firing
Pierre, I just tripped over what boils down to the sequence given below. It would be useful if the error in line 53 were trapped right away; as it is, it results in a masked array that looks reasonable but fails in a non-obvious way. Eric In [52]:x = [1,2] In [53]:y = ma.masked_where(False,