Re: [Numpy-discussion] nan division warnings

2011-08-30 Thread mdekauwe
Perfect that works how I envisaged, I am an idiot, I clearly overcomplicated my solution. thanks. -- View this message in context: http://old.nabble.com/nan-division-warnings-tp32369310p32369517.html Sent from the Numpy-discussion mailing list archive at Nabble.com. ___

Re: [Numpy-discussion] nan division warnings

2011-08-30 Thread Robert Kern
On Tue, Aug 30, 2011 at 22:39, mdekauwe wrote: > > Hi, > > this is probably my lack of understanding...when i set up some masks for 2 > arrays and try to divide one by the other I get a runtime warning. Seemingly > this is when I am asking python to divide one nan by the other, however I > thought

[Numpy-discussion] nan division warnings

2011-08-30 Thread mdekauwe
Hi, this is probably my lack of understanding...when i set up some masks for 2 arrays and try to divide one by the other I get a runtime warning. Seemingly this is when I am asking python to divide one nan by the other, however I thought by masking the array numpy would then know to ignore these