diff options
author | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-12-17 13:38:09 +0000 |
---|---|---|
committer | Kevin Sheppard <kevin.k.sheppard@gmail.com> | 2021-12-17 13:38:13 +0000 |
commit | 1fda5ec58f6c0b94560209913b2ecd0ca50b2c5a (patch) | |
tree | 834e43d1e486d82dcd3add93ce9d561489437971 /numpy/array_api/_elementwise_functions.py | |
parent | 5afc7678a01d1c65063c5967b8594e191e594065 (diff) | |
download | numpy-1fda5ec58f6c0b94560209913b2ecd0ca50b2c5a.tar.gz |
BUG: Protect kahan_sum from empty arrays
Return a default value when passed an empty array
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions