summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/tests/test_defmatrix.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-01-24 22:54:47 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2013-01-25 13:16:21 +0100
commit49bf2045e1cc7d1fb7e2ce771fbb1636c9d28e5a (patch)
tree2fbfd16f0f0d72c053ecf272058c6594db5db980 /numpy/matrixlib/tests/test_defmatrix.py
parent4600b2fe1d7ebafef98858572b603f2a8d19db4d (diff)
downloadnumpy-49bf2045e1cc7d1fb7e2ce771fbb1636c9d28e5a.tar.gz
BUG: Fix strides of trailing 1s when reshaping
When adding ones to the shape for non contiguous arrays reshapes (i.e. either the first array is not contiguous or the the reshape order does not match it). The strides of trailing ones were not set. For example reshape of (6,) to (6,1,1). Previously this occured rarely because of removed special handleing when only ones were added or removed.
Diffstat (limited to 'numpy/matrixlib/tests/test_defmatrix.py')
0 files changed, 0 insertions, 0 deletions