diff options
author | Yu Feng <rainwoodman@gmail.com> | 2016-11-16 14:44:49 -0800 |
---|---|---|
committer | Yu Feng <rainwoodman@gmail.com> | 2016-11-21 16:09:40 -0800 |
commit | cce86d6241d6fa8253ca119a0b47b05a5b375996 (patch) | |
tree | c8a37c62e26b371e4e19eebb352bf214201b18bb /numpy/lib/tests/test_packbits.py | |
parent | a7d244ce2257c4e5115cf802fe34e8ad57bb8e54 (diff) | |
download | numpy-cce86d6241d6fa8253ca119a0b47b05a5b375996.tar.gz |
BUG: Fix iteration over reversed subspaces in mapiter_@name@.
As stated in #8264, before this patch numpy crashes when the
subspace of iterator has negative strides on the faster
resetting branch for trivially iterable subspaces in mapiter_@name@.
Noticing the offset between ptr and first item in subspace is
constant, we calculate the offset from the first iteration and use
it onwards.
Fixes #8264
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions