On Thu, Mar 24, 2011 at 5:11 PM, Robert Kern <robert.k...@gmail.com> wrote: > 2011/3/24 Dmitrey <tm...@ukr.net>: >>>>> from numpy import inf, array >>>>> inf*0 >> nan >> >> (ok) >> >>>>> array(inf) * 0.0 >> StdErr: Warning: invalid value encountered in multiply >> nan >> >> My cycled calculations yields this thousands times slowing computations and >> making text output completely non-readable. >> >>>>> from numpy import __version__ >>>>> __version__ >> '2.0.0.dev-1fe8136' > > We really should change the default to 'warn' for numpy 2.0. Maybe > even for numpy 1.6. We've talked about it before, and I think most > people were in favor. We just never pulled the trigger.
Old thread on this topic: http://thread.gmane.org/gmane.comp.python.numeric.general/35664 > > Devs, what say you? Works for me, also for 1.6. Cheers, Ralf > -- > Robert Kern _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion