[Numpy-svn] [numpy/numpy] 7593de: BUG: Fetching a non-integer item caused array retu...
GitHub
noreply at github.com
Thu Jan 23 15:13:30 EST 2014
Branch: refs/heads/maintenance/1.8.x
Home: https://github.com/numpy/numpy
Commit: 7593de1685be1efdf09dbaf9c07176bcb886d431
https://github.com/numpy/numpy/commit/7593de1685be1efdf09dbaf9c07176bcb886d431
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M numpy/core/src/multiarray/mapping.c
M numpy/core/tests/test_indexing.py
Log Message:
-----------
BUG: Fetching a non-integer item caused array return
After a bug fix, a non-integer integer fetch (i.e. float), caused
array returns, because it passed through both integer and fancy
special cases which have logic in place to return scalars.
The last fallback incorrectly returned an array in this case.
Commit: 67df668e175bfc12dac60d123c0887a42e0c82a2
https://github.com/numpy/numpy/commit/67df668e175bfc12dac60d123c0887a42e0c82a2
Author: Julian Taylor <juliantaylor108 at gmail.com>
Date: 2014-01-23 (Thu, 23 Jan 2014)
Changed paths:
M numpy/core/src/multiarray/mapping.c
M numpy/core/tests/test_indexing.py
Log Message:
-----------
Merge pull request #4223 from seberg/item-asarray
BUG: Fetching a non-integer item caused array return
Compare: https://github.com/numpy/numpy/compare/8b477366efde...67df668e175b
More information about the Numpy-svn
mailing list