summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorjaimefrio <jaime.frio@gmail.com>2014-02-20 22:15:47 -0800
committerjaimefrio <jaime.frio@gmail.com>2014-02-20 22:17:43 -0800
commitb9454f50f23516234c325490913224c3a69fb122 (patch)
tree78e27bdca6aaca1258f760af5db4ccfb5e4f8b41 /numpy/add_newdocs.py
parent34d7bee3d472e5b97c1ea7c8d7e8d9949a9ebc16 (diff)
downloadnumpy-b9454f50f23516234c325490913224c3a69fb122.tar.gz
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
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions