diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-28 12:56:58 -0700 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-28 12:56:58 -0700 |
| commit | 2223a09864e4ccf5206b78684d3db5c853336df9 (patch) | |
| tree | 89840202864710d8aea60cb1a6c252ee375c08f9 /numpy | |
| parent | 86d2a87cf97b99bcff13bbbd5c4211fdfc5ff2af (diff) | |
| download | numpy-2223a09864e4ccf5206b78684d3db5c853336df9.tar.gz | |
DOC: Fixup docs for improved scalar floating point warning message
Diffstat (limited to 'numpy')
| -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() |
