diff options
| -rw-r--r-- | numpy/core/_ufunc_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/_ufunc_config.py b/numpy/core/_ufunc_config.py index 7f9995fa3..5aac7ab09 100644 --- a/numpy/core/_ufunc_config.py +++ b/numpy/core/_ufunc_config.py @@ -97,7 +97,7 @@ def seterr(all=None, divide=None, over=None, under=None, invalid=None): >>> np.int16(32000) * np.int16(3) Traceback (most recent call last): File "<stdin>", line 1, in <module> - FloatingPointError: overflow encountered in short_scalars + FloatingPointError: overflow encountered in scalar multiply >>> old_settings = np.seterr(all='print') >>> np.geterr() |
