diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-08-05 19:36:58 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-08-05 19:46:50 +0200 |
commit | f0910a18f164f0a71590003c24992eca90e34b61 (patch) | |
tree | b0ffc559e661b7aa1710e085c22366711824e774 /numpy/doc/broadcasting.py | |
parent | 645b9f572f0a22e9049fd736b8b91427be2c8402 (diff) | |
download | numpy-f0910a18f164f0a71590003c24992eca90e34b61.tar.gz |
BUG: Boolean assignment allowed writing to 0-sized array
This was because of the assumption that broadcasting works
if the dimension is not > 1, but correct is != 1.
Adepted from a patch provided by prossahl.
Closes gh-3458.
Diffstat (limited to 'numpy/doc/broadcasting.py')
0 files changed, 0 insertions, 0 deletions