summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2021-12-17 13:38:09 +0000
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2021-12-17 13:38:13 +0000
commit1fda5ec58f6c0b94560209913b2ecd0ca50b2c5a (patch)
tree834e43d1e486d82dcd3add93ce9d561489437971 /numpy/array_api/_elementwise_functions.py
parent5afc7678a01d1c65063c5967b8594e191e594065 (diff)
downloadnumpy-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