diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-01-03 16:42:48 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-01-03 17:40:00 +0100 |
commit | 2be873f9590d1c68f8cf2357cd0a1c72bd5874ed (patch) | |
tree | 573e2fadf7e7da2d1dd1332f8bc49d64d9cc824c /numpy/lib/tests | |
parent | c74586282e4598e70b9b2473ee987785e2a61477 (diff) | |
download | numpy-2be873f9590d1c68f8cf2357cd0a1c72bd5874ed.tar.gz |
BUG: Fix CheckStrides and strides setter checks for available memory
This changes the logic of PyArray_CheckStrides to really check the
full extent the new array will have. It also changes the stride
setting to calculate the full real extent of the underlying array
without assuming (usually correctly) that the strides of the base
array are regular.
Add some tests for cases that previously failed.
This "closes Issue gh-2503"
Diffstat (limited to 'numpy/lib/tests')
0 files changed, 0 insertions, 0 deletions