summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-02-19 16:52:32 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2013-02-25 01:01:51 +0100
commit230ee3aa201552a8a9fa13c4b319f68cbd504d85 (patch)
tree2879a7be8c58354f119f8bfc96ed6741489fbd49 /numpy/doc/basics.py
parent58548e66d5d3bda3e884ae0c0ab0805ab0160484 (diff)
downloadnumpy-230ee3aa201552a8a9fa13c4b319f68cbd504d85.tar.gz
BUG: non-empty takes on empty axes failed for clip/wrap logic
These did no checking for this special case. And thus, wrap would go into infinite loops trying to adjust the index, and clip would (probably) segfault. This raises IndexError explicitely beforehand.
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions