summaryrefslogtreecommitdiff
path: root/numpy/lib/user_array.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-01-21 20:26:40 -0500
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-02-01 14:39:40 -0500
commit7927b3cb4b57e79bf6b1b8a723583295fc0398eb (patch)
tree74d8d82dd0b2cb29b6915e38a0142439691719b1 /numpy/lib/user_array.py
parentbd0fe0aa2159fa1d4570b0c524097b7492f239bf (diff)
downloadnumpy-7927b3cb4b57e79bf6b1b8a723583295fc0398eb.tar.gz
BUG Ensure that operations on MaskedArray return any output given.
Without this commit, after an operation like ``` a = np.ma.MaskedArray([1., 2., 3.]) b = np.add(a, 1., out=a) ``` one would have `b is not a`. With this PR, it is guaranteed that `b is a`.
Diffstat (limited to 'numpy/lib/user_array.py')
0 files changed, 0 insertions, 0 deletions