summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/ma/extras.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index 0a60ea331..29a15633d 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -729,10 +729,6 @@ def _median(a, axis=None, out=None, overwrite_input=False):
s = mid.sum(out=out)
if not odd:
s = np.true_divide(s, 2., casting='safe', out=out)
- # masked ufuncs do not fullfill `returned is out` (gh-8416)
- # fix this to return the same in the nd path
- if out is not None:
- s = out
s = np.lib.utils._median_nancheck(asorted, s, axis, out)
else:
s = mid.mean(out=out)