diff options
author | Pauli Virtanen <pav@iki.fi> | 2017-01-19 23:15:00 +0100 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-01-19 23:15:00 +0100 |
commit | d4a5f2c5b0c491ba9dfd603487bf3d3dce7320b5 (patch) | |
tree | 23a1750901117a26756d4eaa94efca52b73045ec /numpy/lib/tests/test_packbits.py | |
parent | ff436f9fd44cb9ebb64a6b6e6a59e6f988481672 (diff) | |
download | numpy-d4a5f2c5b0c491ba9dfd603487bf3d3dce7320b5.tar.gz |
BUG: umath: correct treatment of __array_prepare__
prepare_ufunc_output is allowed to replace the array, because we check
that it's still a view. Also if COPY_IF_OVERLAP made updateifcopy of
op[i], the data will be reflected in the array from __array_prepare__.
The is-a-view check is only bare-bones, but it was so since 61d45eee
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions