diff options
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r-- | numpy/ma/core.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 65e44673c..105dd30ec 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -4582,12 +4582,13 @@ class MaskedArray(ndarray): purposes. """ + cf = 'CF'[self.flags.fnc] state = (1, self.shape, self.dtype, self.flags.fnc, - self._data.tostring(), - getmaskarray(self).tostring(), + self._data.tostring(cf), + getmaskarray(self).tostring(cf), self._fill_value, ) return state |