diff options
| author | David Schaefer <david.schaefe@gmail.com> | 2017-08-13 22:36:38 +0200 |
|---|---|---|
| committer | Eric Wieser <wieser.eric@gmail.com> | 2017-08-13 13:36:38 -0700 |
| commit | 75545583a89647b810862076ae385a6c396e3eb0 (patch) | |
| tree | bb39aeef72950b963930b8b2a2ab66c42b3216ba /numpy/ma/core.py | |
| parent | a13c066969212ed6c9e84b92eacfa77b802d99c4 (diff) | |
| download | numpy-75545583a89647b810862076ae385a6c396e3eb0.tar.gz | |
BUG: MaskedArray._optinfo is discarded by__eq__/__ne__ (#9540)
Diffstat (limited to 'numpy/ma/core.py')
| -rw-r--r-- | numpy/ma/core.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 5084f5a6c..8da68ff9c 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -3956,6 +3956,7 @@ class MaskedArray(ndarray): mask = np.broadcast_to(mask, check.shape).copy() check = check.view(type(self)) + check._update_from(self) check._mask = mask return check |
