diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2014-03-23 20:08:23 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2014-03-23 20:23:00 +0100 |
commit | adf38debadf55932961211f77646bc16187859d8 (patch) | |
tree | 0c511eb621636f593f8d4f9951d28837394b3d8c /numpy/testing/utils.py | |
parent | 730bff388f4847a4c1148fb72d3fcb3aa4f0a41a (diff) | |
download | numpy-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