diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-06-09 19:14:39 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-06-09 20:29:46 +0200 |
commit | 0a015869a2a1f94106a184811a1a898b41dc4ef9 (patch) | |
tree | c60369880dae0aece5afe93a3b918cc7fa35560a /numpy/numarray/convolve.py | |
parent | 558cd20c29db0cd89c4d92fc354602650f861064 (diff) | |
download | numpy-0a015869a2a1f94106a184811a1a898b41dc4ef9.tar.gz |
BUG: Decref subspace when subspace is 0-d in fancy indexing
Not decrefing it causes a major memory leak. This adapts the
automated tests to cover this case as well and adds refcounting
to it. Replaces some 'skip' with 0s, but I believe the skip
tests are not that important. Added 1-d special case tests
using the same indices as the multi-dim test though.
Thanks to Julian Taylor for noting the bug.
Diffstat (limited to 'numpy/numarray/convolve.py')
0 files changed, 0 insertions, 0 deletions