diff options
author | Pauli Virtanen <pav@iki.fi> | 2017-01-21 23:37:28 +0100 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-01-21 23:57:21 +0100 |
commit | 2f1902966dd8fe8ccb3bf9da9154574718476281 (patch) | |
tree | b4879e58eb3d4acea5c06845d135e18bbb5ba7e5 /numpy/lib/tests/test_packbits.py | |
parent | f7381b0a06ea100e902f031f68409a1ed8890c4b (diff) | |
download | numpy-2f1902966dd8fe8ccb3bf9da9154574718476281.tar.gz |
BUG: core/umath: handle __array_prepare__ correctly in ufunc iterator_loop
Ensure that results get written to the array returned by
__array_prepare__, if any. This necessitates calling
prepare_ufunc_output on the output arrays that the iterator may replace
with UPDATEIFCOPY'd ones.
Add a test to the test suite --- this code path was untested previously.
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions