diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-12-05 14:09:13 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-12-20 19:27:08 +0100 |
commit | f43dee7e4ffbe06eaa8d116d405d0b12f2e3b468 (patch) | |
tree | b3b1a8cdec6320333bbe2b703f5f1bdd43f3cf4e /numpy/f2py/docs/usersguide/setup_example.py | |
parent | 056ab73e567b8dae84055108dee6166d637baa57 (diff) | |
download | numpy-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/f2py/docs/usersguide/setup_example.py')
0 files changed, 0 insertions, 0 deletions