diff options
author | slepton <slepton@posteo.de> | 2021-07-07 21:25:53 +0200 |
---|---|---|
committer | slepton <slepton@posteo.de> | 2021-07-07 21:25:53 +0200 |
commit | d19584547a7934bfce9dee445e65a2c1994cecdc (patch) | |
tree | 2013779442bff7d9f47464fd3a1b6ba755b0070d /numpy/ma/extras.py | |
parent | 5ac75798362cea6ecbd602a46b80c297b0f6712a (diff) | |
parent | de245cd133699f8c23f97ec07ec29703e37a5923 (diff) | |
download | numpy-d19584547a7934bfce9dee445e65a2c1994cecdc.tar.gz |
Merge remote-tracking branch 'origin/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: |