[Numpy-svn] [numpy/numpy] 8f8f38: TST: Reduced test case for ticket #1834

noreply at github.com noreply at github.com
Wed May 18 10:51:13 EDT 2011


Branch: refs/heads/maintenance/1.6.x
Home:   https://github.com/numpy/numpy

Commit: 8f8f38557679337e00e68991d525e626ab9f61a8
    https://github.com/numpy/numpy/commit/8f8f38557679337e00e68991d525e626ab9f61a8
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: cfd23207f4d9253fac9c3ca6619393244c87e1bf
    https://github.com/numpy/numpy/commit/cfd23207f4d9253fac9c3ca6619393244c87e1bf
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: 30f56a88b57bfbc077083a60d9ceca563a87646d
    https://github.com/numpy/numpy/commit/30f56a88b57bfbc077083a60d9ceca563a87646d
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/d1bd08d...30f56a8



More information about the Numpy-svn mailing list