[Numpy-svn] [numpy/numpy] 330229: BUG: fix uninitialized use of size 1 reductions
GitHub
noreply at github.com
Sun Mar 23 11:11:03 EDT 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 3302291884cedf7089b608688a3fa2e696f629ea
https://github.com/numpy/numpy/commit/3302291884cedf7089b608688a3fa2e696f629ea
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M numpy/core/src/multiarray/nditer_api.c
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
BUG: fix uninitialized use of size 1 reductions
Size 1 reductions do not intiialize the iterator fully as normal
reductions which triggers uninitialized use in NpyIter_IsFirstVisit.
To fix this check the size of the iterator and return true if it only
has size 1.
Commit: e5b803c742094fb420224905794100eeca6a0fca
https://github.com/numpy/numpy/commit/e5b803c742094fb420224905794100eeca6a0fca
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M numpy/core/src/multiarray/nditer_api.c
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
Merge pull request #4535 from juliantaylor/itersize-1
BUG: fix uninitialized use of size 1 reductions
Compare: https://github.com/numpy/numpy/compare/51c65c1990c6...e5b803c74209
More information about the Numpy-svn
mailing list