summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorjeremiedbb <34657725+jeremiedbb@users.noreply.github.com>2019-08-01 23:43:33 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2019-08-01 14:43:33 -0700
commit22fe5427be1f3a0b186d01a09ff46092a42a0aa1 (patch)
tree2330122f5a198787626184ad3e11c219c79222bb /numpy/core/numeric.py
parentee309d9bc6f1b4995397f95c1e279bdd977051ad (diff)
downloadnumpy-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