Keith Goodman wrote:
> I get lots of warning messages after upgrading from 1.0rc1 to 1.0.1:
> 
> Warning: divide by zero encountered in divide
> Warning: invalid value encountered in log
> Warning: invalid value encountered in subtract
> Warning: invalid value encountered in multiply
> 
> What's a good way to turn off the warnings?

seterr(all='ignore')

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to