summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-01-19 21:24:49 +0000
committerGitHub <noreply@github.com>2020-01-19 21:24:49 +0000
commit06a19d6a362af2508d1e11dce47eb2d18a419383 (patch)
tree8ec14c9500b25546e1810c7b6ec39903e0893db7 /numpy
parent73d8ec888378fc9c8358ba4b88b93f2a48669c31 (diff)
parent28b45f474ac5714283d45b3ff31eadd3736bfc7c (diff)
downloadnumpy-06a19d6a362af2508d1e11dce47eb2d18a419383.tar.gz
MAINT: Remove unneccessary call to NpyIter_IterationNeedsAPI (#15348)
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/ufunc_object.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c
index 66d52cf92..e4ce437fb 100644
--- a/numpy/core/src/umath/ufunc_object.c
+++ b/numpy/core/src/umath/ufunc_object.c
@@ -3861,8 +3861,6 @@ PyUFunc_Accumulate(PyUFuncObject *ufunc, PyArrayObject *arr, PyArrayObject *out,
stride_copy[1] = stride1;
stride_copy[2] = stride0;
- needs_api = NpyIter_IterationNeedsAPI(iter);
-
NPY_BEGIN_THREADS_NDITER(iter);
do {