diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-04-29 12:38:20 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-06-02 11:09:01 +0100 |
commit | d47ca7b26172c42b01c3132d0e46e70578c8ea21 (patch) | |
tree | 376a64bd99e388bc3ca78552233b511e14735b10 /numpy/lib/tests/test_function_base.py | |
parent | 1f9ab2c8e8b13fe87c998b87ca8c54176a1ef4e0 (diff) | |
download | numpy-d47ca7b26172c42b01c3132d0e46e70578c8ea21.tar.gz |
BUG: Check for warnings in ufunc.reduce
The two most visible consequences are warnings for:
* np.min and np.max when inputs contain nan
* np.sum when the summation (of floats) overflows
Implementation taken from the code for ufunc.__call__
Fixes #8954
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions