summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_recfunctions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-01-03 16:42:48 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2013-01-03 17:40:00 +0100
commit2be873f9590d1c68f8cf2357cd0a1c72bd5874ed (patch)
tree573e2fadf7e7da2d1dd1332f8bc49d64d9cc824c /numpy/lib/tests/test_recfunctions.py
parentc74586282e4598e70b9b2473ee987785e2a61477 (diff)
downloadnumpy-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/test_recfunctions.py')
0 files changed, 0 insertions, 0 deletions