[Numpy-svn] [numpy/numpy] 8362e0: BUG: Convert non-array rhs for boolean assignment ...
GitHub
noreply at github.com
Sun Jan 13 19:09:53 EST 2013
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 8362e081291e792be304cbdb8ece2e00845baf39
https://github.com/numpy/numpy/commit/8362e081291e792be304cbdb8ece2e00845baf39
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2013-01-12 (Sat, 12 Jan 2013)
Changed paths:
M numpy/core/src/multiarray/mapping.c
M numpy/core/tests/test_regression.py
Log Message:
-----------
BUG: Convert non-array rhs for boolean assignment with correct dtype
Enforcing the left hand side datatype for a non-array right hand side
argument in index assignments was the behavior before 1.7. and is the
general behaviour here. (note this means a non-array right hand side
checks for NaN, etc. if the left hand side is integer, but an array
right hand side does not)
Commit: 24615f4c7744ff4a924b9488ea3b9bb7df3665f0
https://github.com/numpy/numpy/commit/24615f4c7744ff4a924b9488ea3b9bb7df3665f0
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2013-01-12 (Sat, 12 Jan 2013)
Changed paths:
M numpy/core/src/multiarray/iterators.c
M numpy/core/tests/test_regression.py
Log Message:
-----------
BUG: Make 1d fancy indexing special case use unsafe_casting
Also make sure right hand side is converted safely to the right
type if it is not an array though.
Commit: eb109d2bbea6e61c289907b9962d57c768eee28f
https://github.com/numpy/numpy/commit/eb109d2bbea6e61c289907b9962d57c768eee28f
Author: njsmith <njs at pobox.com>
Date: 2013-01-13 (Sun, 13 Jan 2013)
Changed paths:
M numpy/core/src/multiarray/iterators.c
M numpy/core/src/multiarray/mapping.c
M numpy/core/tests/test_regression.py
Log Message:
-----------
Merge pull request #2907 from seberg/nonarray-assignment-master
Nonarray assignment regression for boolean indexing and 1d unsafe casting
Compare: https://github.com/numpy/numpy/compare/23e9f01f5447...eb109d2bbea6
More information about the Numpy-svn
mailing list