diff options
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 1fae5c8cb..f98a29d82 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -4791,6 +4791,7 @@ class MaskedArray(ndarray): mask = _check_mask_axis(self._mask, axis, **kwargs) if out is None: r = self.filled(True).all(axis=axis, **kwargs) + # object dtypes with axis=None return a scalar if isinstance(r, bool): d = type(self)(r) else: |
