diff options
author | Simon Gibbons <simongibbons@gmail.com> | 2016-04-08 14:58:44 +0100 |
---|---|---|
committer | Simon Gibbons <simongibbons@gmail.com> | 2016-04-08 15:07:57 +0100 |
commit | c2ec8187b4d53d125d00b96b9891ff3c9da7e823 (patch) | |
tree | e1c8da373941edee201dde719537bff3516dcf96 /numpy/core/numeric.py | |
parent | 71575f1e0167a5fc07a761336439807544d8fc5a (diff) | |
download | numpy-c2ec8187b4d53d125d00b96b9891ff3c9da7e823.tar.gz |
BUG: Floating exception with invalid axis in np.lexsort
When an invalid axis was passed into PyArray_LexSort it
would attempt to create a set of iterators to ignore that
axis before checking to see if the axis was valid. This
would cause a floating exception as the dimension of
the invalid axis would on occasion return zero.
This fixes that by moving the axis to before the iterator
creation.
Fixes #7528
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions