diff options
author | sgasse <sgasse@users.noreply.github.com> | 2020-03-25 22:01:47 +0100 |
---|---|---|
committer | sgasse <sgasse@users.noreply.github.com> | 2020-03-26 19:21:45 +0100 |
commit | 36dd1b36474d9a6e46c86f708b9a62efa0a7309a (patch) | |
tree | 0a54058d8a277c4d2b6251abeb3c11145e292284 /numpy/lib/arraypad.py | |
parent | 68439794b84836f43ec389be0e702ff64ee76d44 (diff) | |
download | numpy-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/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions