summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
authordefault-303 <ajayds2001@gmail.com>2021-05-26 17:53:50 +0530
committerdefault-303 <ajayds2001@gmail.com>2021-05-26 17:53:50 +0530
commitdf363b0e644ba1ad2bf1815a126935f120c19860 (patch)
treee581c48477d19ad4af16f3d7c1cd56f58994f232 /numpy/ma/core.py
parent366872c895ba4108d224c581e2b1941773205e4a (diff)
downloadnumpy-df363b0e644ba1ad2bf1815a126935f120c19860.tar.gz
MAINT: Added comments for future refrence in core.py and system_info.py
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index fdc7f9e83..186f72bf4 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -2842,6 +2842,9 @@ class MaskedArray(ndarray):
# Backwards compatibility w/ numpy.core.ma.
if hasattr(data, '_mask') and not isinstance(data, ndarray):
_data._mask = data._mask
+ # FIXME: should we set `_data._sharedmask = True`? Previously this set `_sharedmask = True`, but
+ # that didn't actually do anything as the variable was unused!
+
# Process mask.
# Type of the mask
mdtype = make_mask_descr(_data.dtype)