summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2014-03-23 20:08:23 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2014-03-23 20:23:00 +0100
commitadf38debadf55932961211f77646bc16187859d8 (patch)
tree0c511eb621636f593f8d4f9951d28837394b3d8c /numpy/testing/utils.py
parent730bff388f4847a4c1148fb72d3fcb3aa4f0a41a (diff)
downloadnumpy-adf38debadf55932961211f77646bc16187859d8.tar.gz
BUG: nditer: Initialize buffer reduce pos
The FirstVisit function uses this, but when the reduction is over a single element it isn't considered a reduction. This is fine, however the reduce pos must still be initialized to 0 in that case. Also changes the check order so that it is not necessary to initialize the outerstrides as well. See also gh-4134, and gh-4535.
Diffstat (limited to 'numpy/testing/utils.py')
0 files changed, 0 insertions, 0 deletions