diff options
author | jeremiedbb <34657725+jeremiedbb@users.noreply.github.com> | 2019-08-01 23:43:33 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-08-01 14:43:33 -0700 |
commit | 22fe5427be1f3a0b186d01a09ff46092a42a0aa1 (patch) | |
tree | 2330122f5a198787626184ad3e11c219c79222bb /numpy/core/numeric.py | |
parent | ee309d9bc6f1b4995397f95c1e279bdd977051ad (diff) | |
download | numpy-22fe5427be1f3a0b186d01a09ff46092a42a0aa1.tar.gz |
BUG: Make advanced indexing result on read-only subclass writeable (#14171)
Fancy indexing on read-only subclass makes a read-only copy. This PR avoids using the flags of the original array.
Fixes #14132
* do not use original array flags in fancy indexing
* Update numpy/core/tests/test_indexing.py
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions