summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_packbits.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2017-01-20 21:09:30 +0100
committerPauli Virtanen <pav@iki.fi>2017-01-20 21:09:30 +0100
commitead5cb7fcfff510c81e293b5fabe006ddab399e6 (patch)
tree2ba9642c852c674c1742a33e91580f1e812a84d1 /numpy/lib/tests/test_packbits.py
parentcd28173172c2f20ded46d921534e7e5245eeabc3 (diff)
downloadnumpy-ead5cb7fcfff510c81e293b5fabe006ddab399e6.tar.gz
BUG: core: fix bug with zero strides in PyArray_EQUIVALENTLY_ITERABLE_OVERLAP_OK
Arrays with zero strides are never "ahead", as the same element is reused multiple times. The previous logic was incorrect eg. for stride1==0, stride2<0 and arr1->data==arr2->data.
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions