[Numpy-svn] [numpy/numpy] b9454f: BUG: Fix broadcasting in np.cross (solves #2624)
GitHub
noreply at github.com
Sat Mar 1 09:40:20 EST 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: b9454f50f23516234c325490913224c3a69fb122
https://github.com/numpy/numpy/commit/b9454f50f23516234c325490913224c3a69fb122
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-02-20 (Thu, 20 Feb 2014)
Changed paths:
M numpy/core/numeric.py
M numpy/core/tests/test_numeric.py
Log Message:
-----------
BUG: Fix broadcasting in np.cross (solves #2624)
Changed np.cross to move the axis it's operating on to the end, not the
beginning of the shape tuple, and used rollaxis, not swapaxes, so that
normal broadcasting rules apply.
There were no tests in place, so I added some validation of results and
broadcasted shapes, including the one reported in #2624
Commit: e31da35c5f23968e2cbfae06642ce32dc54e7627
https://github.com/numpy/numpy/commit/e31da35c5f23968e2cbfae06642ce32dc54e7627
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
Changed paths:
M numpy/core/numeric.py
M numpy/core/tests/test_numeric.py
Log Message:
-----------
TST: Added out of bounds axis checking to the tests.
ENH: Minimize temporary intermediate arrays using a preallocated
output array and in-place operations.
DOC: Added 'Supports full broadcasting' note to the docstring.
Commit: 2d152aff963cc325a32c65e4dd1b0e2e87fba4b2
https://github.com/numpy/numpy/commit/2d152aff963cc325a32c65e4dd1b0e2e87fba4b2
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-02-24 (Mon, 24 Feb 2014)
Changed paths:
M doc/release/1.9.0-notes.rst
Log Message:
-----------
DOC: Added note to 1.9.0 release notes
Commit: 4d2aceca643c3f8e8b3edbf9a2172ea4b94a3118
https://github.com/numpy/numpy/commit/4d2aceca643c3f8e8b3edbf9a2172ea4b94a3118
Author: Julian Taylor <juliantaylor108 at gmail.com>
Date: 2014-03-01 (Sat, 01 Mar 2014)
Changed paths:
M doc/release/1.9.0-notes.rst
M numpy/core/numeric.py
M numpy/core/tests/test_numeric.py
Log Message:
-----------
Merge pull request #4338 from jaimefrio/cross-broadcast
BUG: Fix broadcasting in np.cross (solves #2624)
Compare: https://github.com/numpy/numpy/compare/94d35b500fc1...4d2aceca643c
More information about the Numpy-svn
mailing list