diff options
author | slepton <slepton@posteo.de> | 2021-07-07 20:00:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 20:00:48 +0200 |
commit | de245cd133699f8c23f97ec07ec29703e37a5923 (patch) | |
tree | d1b485e30de04e078aa86f9e5f3466744fa505b9 /numpy/ma/extras.py | |
parent | 87db3d1ae9a16edabd8f4818307616d8182d2a12 (diff) | |
parent | 068074f4acab87b0fabf194517b7dfb0f038af5a (diff) | |
download | numpy-de245cd133699f8c23f97ec07ec29703e37a5923.tar.gz |
Merge branch 'numpy:main' into main
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r-- | numpy/ma/extras.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index c139f4640..73abfc296 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -743,7 +743,6 @@ def _median(a, axis=None, out=None, overwrite_input=False): return np.ma.mean(asorted[indexer], axis=axis, out=out) if asorted.ndim == 1: - counts = count(asorted) idx, odd = divmod(count(asorted), 2) mid = asorted[idx + odd - 1:idx + 1] if np.issubdtype(asorted.dtype, np.inexact) and asorted.size > 0: |