[Numpy-svn] [numpy/numpy] cde76b: ENH: Allow 0-d indexes in np.take
GitHub
noreply at github.com
Wed Jan 23 05:09:37 EST 2013
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: cde76b4d11a580e6d25eebdcce373bc5d8c850f5
https://github.com/numpy/numpy/commit/cde76b4d11a580e6d25eebdcce373bc5d8c850f5
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2013-01-06 (Sun, 06 Jan 2013)
Changed paths:
M doc/release/1.8.0-notes.rst
M numpy/core/fromnumeric.py
M numpy/core/src/multiarray/item_selection.c
A numpy/core/tests/test_item_selection.py
Log Message:
-----------
ENH: Allow 0-d indexes in np.take
The TakeFrom already supported this. This removes the check which
made it not possible and adds some tests for take.
Also add documentation and information to the release notes.
Commit: dce10183bc8f3d243bd5fc70140f5ad71179d05c
https://github.com/numpy/numpy/commit/dce10183bc8f3d243bd5fc70140f5ad71179d05c
Author: seberg <sebastian at sipsolutions.net>
Date: 2013-01-23 (Wed, 23 Jan 2013)
Changed paths:
M doc/release/1.8.0-notes.rst
M numpy/core/fromnumeric.py
M numpy/core/src/multiarray/item_selection.c
A numpy/core/tests/test_item_selection.py
Log Message:
-----------
Merge pull request #2725 from seberg/take_0d
ENH: Allow 0-d indexes in np.take
Compare: https://github.com/numpy/numpy/compare/963c4e46dc56...dce10183bc8f
More information about the Numpy-svn
mailing list