On Thu, Mar 24, 2011 at 10:52 AM, eat <e.antero.ta...@gmail.com> wrote: > Hi > > On Thu, Mar 24, 2011 at 4:17 PM, Skipper Seabold <jsseab...@gmail.com> <snip> >> Also, as Robert pointed out to me before np.errstate is a >> context-manager for ignoring these warnings. I often wrap optimization >> code with it. > > I didn't realize that its context-manager, but that's really create! > (Perhaps documents could reflect that.) > Regards, > eat
I added errstate to the see also of seterr: http://docs.scipy.org/numpy/docs/numpy.core.numeric.seterr/ Skipper _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion