diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2019-04-13 22:09:06 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-04-13 22:09:06 +0200 |
commit | 6dac2d6a4a061a39cc41f93641c0c29085cd10a6 (patch) | |
tree | 18808c689c736ca7ac53d1517742329463cc3127 | |
parent | dea1239b6dcaf072fc9b70e6af0c0a100cead69e (diff) | |
download | numpy-6dac2d6a4a061a39cc41f93641c0c29085cd10a6.tar.gz |
BUG: ufunc.at iteration variable size fix
The iteration variable has to be intp of course, unfortunately
a test is too slow to be practical (even as a slow test).
This code needs more refactoring, but since it is a minimal fix...
Closes gh-13286
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c index f5084e6b3..6a96fe296 100644 --- a/numpy/core/src/umath/ufunc_object.c +++ b/numpy/core/src/umath/ufunc_object.c @@ -5572,7 +5572,7 @@ ufunc_at(PyUFuncObject *ufunc, PyObject *args) PyUFuncGenericFunction innerloop; void *innerloopdata; - int i; + npy_intp i; int nop; /* override vars */ |