[Numpy-svn] [numpy/numpy] f43dee: BUG|API: Raise wrong arg{min|max} out shape and st...
GitHub
noreply at github.com
Fri Dec 20 14:06:32 EST 2013
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: f43dee7e4ffbe06eaa8d116d405d0b12f2e3b468
https://github.com/numpy/numpy/commit/f43dee7e4ffbe06eaa8d116d405d0b12f2e3b468
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2013-12-20 (Fri, 20 Dec 2013)
Changed paths:
M doc/release/1.9.0-notes.rst
M numpy/core/src/multiarray/calculation.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
BUG|API: Raise wrong arg{min|max} out shape and stricter check
The error was not raised when the output array size did not match
the given out array causing segfaults if the out array was smaller.
This also makes the shape check strict and changes the error
to a ValueError. The shape check could be relaxed for leading
ones. ufuncs and assignments do this.
Commit: e7fe68ad3ce7f91cb152df49115f353ba9d75789
https://github.com/numpy/numpy/commit/e7fe68ad3ce7f91cb152df49115f353ba9d75789
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2013-12-20 (Fri, 20 Dec 2013)
Changed paths:
M doc/release/1.9.0-notes.rst
M numpy/core/src/multiarray/calculation.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #4103 from seberg/issue-616
BUG|API: Raise wrong arg{min|max} out shape and stricter check
Compare: https://github.com/numpy/numpy/compare/b7144d207540...e7fe68ad3ce7
More information about the Numpy-svn
mailing list