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.