[Numpy-svn] [numpy/numpy] cbca24: TST: Reduced test case for ticket #1834
noreply at github.com
noreply at github.com
Wed May 18 10:44:16 EDT 2011
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: cbca2458d9ade3c624d29bb1b27451af0c47372a
https://github.com/numpy/numpy/commit/cbca2458d9ade3c624d29bb1b27451af0c47372a
Author: Mark Wiebe <mwwiebe at gmail.com>
Date: 2011-05-18 (Wed, 18 May 2011)
Changed paths:
M numpy/core/tests/test_iterator.py
Log Message:
-----------
TST: Reduced test case for ticket #1834
The ticket's bug is visible in einsum, but is caused by an error in how
the reduction double loop interacts with buffering in the nditer. This
test case directly tests the nditer triggering the bad code.
Commit: 9fb892241a0e7d23ab317e41fd77882e4a254c1f
https://github.com/numpy/numpy/commit/9fb892241a0e7d23ab317e41fd77882e4a254c1f
Author: Mark Wiebe <mwwiebe at gmail.com>
Date: 2011-05-18 (Wed, 18 May 2011)
Changed paths:
M numpy/core/src/multiarray/einsum.c.src
M numpy/core/src/multiarray/nditer.c.src
M numpy/core/tests/test_iterator.py
Log Message:
-----------
BUG: Fix buffered reduction case in nditer (ticket #1834)
Commit: 651a9421b6b869ef07d37336ddef791e96182bb5
https://github.com/numpy/numpy/commit/651a9421b6b869ef07d37336ddef791e96182bb5
Author: Mark Wiebe <mwwiebe at gmail.com>
Date: 2011-05-18 (Wed, 18 May 2011)
Changed paths:
M numpy/core/src/multiarray/convert.c
M numpy/core/tests/test_einsum.py
Log Message:
-----------
BUG: PyArray_FillWithZero didn't work in the general case
The call to the stransfer function had incorrect arguments. This
didn't show up because all the tests of einsum, the only current
user of the function, produced contiguous arrays which are special
cased.
Compare: https://github.com/numpy/numpy/compare/5c4efaa...651a942
More information about the Numpy-svn
mailing list