summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorsgasse <sgasse@users.noreply.github.com>2020-03-25 22:01:47 +0100
committersgasse <sgasse@users.noreply.github.com>2020-03-26 19:21:45 +0100
commit36dd1b36474d9a6e46c86f708b9a62efa0a7309a (patch)
tree0a54058d8a277c4d2b6251abeb3c11145e292284 /numpy/core/fromnumeric.py
parent68439794b84836f43ec389be0e702ff64ee76d44 (diff)
downloadnumpy-36dd1b36474d9a6e46c86f708b9a62efa0a7309a.tar.gz
BUG: Fix IndexError for illegal axis in np.mean
Catch IndexError in _count_reduce_items used in np.mean and np.var for illegal axis and reraise as AxisError, see gh-15817.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions