summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ma/core.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index c8664c754..bb1e192c6 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -1228,7 +1228,6 @@ class MaskedArray(ndarray):
# Process data............
_data = np.array(data, dtype=dtype, copy=copy, subok=True, ndmin=ndmin)
_baseclass = getattr(data, '_baseclass', type(_data))
- _optinfo = {}
# Check that we'ew not erasing the mask..........
if isinstance(data,MaskedArray) and (data.shape != _data.shape):
copy = True
@@ -1320,7 +1319,6 @@ class MaskedArray(ndarray):
# Process extra options ..
_data._hardmask = hard_mask
_data._baseclass = _baseclass
- _data._optinfo = _data._basedict = _optinfo
return _data
#
def _update_from(self, obj):