[Numpy-discussion] should get rid of the annoying numpy STDERR output
Skipper Seabold
jsseabold at gmail.com
Thu Mar 24 10:59:58 EDT 2011
On Thu, Mar 24, 2011 at 10:52 AM, eat <e.antero.tammi at gmail.com> wrote:
> Hi
>
> On Thu, Mar 24, 2011 at 4:17 PM, Skipper Seabold <jsseabold at 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
More information about the NumPy-Discussion
mailing list