diff options
author | Pauli Virtanen <pav@iki.fi> | 2017-01-20 21:09:30 +0100 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-01-20 21:09:30 +0100 |
commit | ead5cb7fcfff510c81e293b5fabe006ddab399e6 (patch) | |
tree | 2ba9642c852c674c1742a33e91580f1e812a84d1 /numpy/lib/tests | |
parent | cd28173172c2f20ded46d921534e7e5245eeabc3 (diff) | |
download | numpy-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')
0 files changed, 0 insertions, 0 deletions