diff options
author | Han Genuit <hangenuit@gmail.com> | 2012-09-14 11:11:29 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-04-11 16:59:40 +0200 |
commit | d128fcb4c292a27fb22befe3b2016808d79054b0 (patch) | |
tree | 27ff3d38bb1c89bdc63291cddac637d7837602e0 /numpy/core/defchararray.py | |
parent | e7db8c0f5ef7a302e05be767ebe9cfa81d953a6d (diff) | |
download | numpy-d128fcb4c292a27fb22befe3b2016808d79054b0.tar.gz |
ENH: Add exception to _nonzero_indices for zero-dim arrays
This function causes a crash otherwise, because it loops over the number
of dimensions to construct sub-iterators. If the number of dimensions is
zero, the sub-iterators will not be initialized, causing problems later on.
Diffstat (limited to 'numpy/core/defchararray.py')
0 files changed, 0 insertions, 0 deletions