summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-12-05 14:09:13 +0100
committerSebastian Berg <sebastian@sipsolutions.net>2013-12-20 19:27:08 +0100
commitf43dee7e4ffbe06eaa8d116d405d0b12f2e3b468 (patch)
treeb3b1a8cdec6320333bbe2b703f5f1bdd43f3cf4e /numpy/polynomial/polyutils.py
parent056ab73e567b8dae84055108dee6166d637baa57 (diff)
downloadnumpy-f43dee7e4ffbe06eaa8d116d405d0b12f2e3b468.tar.gz
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.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions