summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-05-19 13:02:43 +0100
committerGitHub <noreply@github.com>2020-05-19 13:02:43 +0100
commit845c48979a4c0b1343037f944a139b88849c6285 (patch)
treef4e30ef646619f3b26dace6b7ec606f52121a8cf /numpy/lib/function_base.py
parent919a8258da892cb154c29b83521b913630820fda (diff)
downloadnumpy-845c48979a4c0b1343037f944a139b88849c6285.tar.gz
MAINT: remove workaround for fixed issue
take now correctly returns `out`, even on 0d arrays
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 00f72acba..95ddcc757 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -3942,8 +3942,6 @@ def _quantile_ureduce_func(a, q, axis=None, out=None, overwrite_input=False,
n = np.array(False, dtype=bool)
r = take(ap, indices, axis=0, out=out)
- if out is not None:
- r = out # workaround for gh-16276
else:
# weight the points above and below the indices