diff options
author | Alex Henrie <alex.henrie@utah.edu> | 2020-01-19 00:17:13 -0700 |
---|---|---|
committer | Alex Henrie <alex.henrie@utah.edu> | 2020-01-19 00:17:13 -0700 |
commit | 28b45f474ac5714283d45b3ff31eadd3736bfc7c (patch) | |
tree | 5a8e7a1b33c69c3f79c7fb5412e2187c750a1d04 | |
parent | bf6859c4248d3595493d2d809bafe1bc200ad6fa (diff) | |
download | numpy-28b45f474ac5714283d45b3ff31eadd3736bfc7c.tar.gz |
MAINT: Remove unneccessary call to NpyIter_IterationNeedsAPI
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 2 |
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 { |