Skip to content

Commit

Permalink
BUG: ufunc.at iteration variable size fix
Browse files Browse the repository at this point in the history
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
  • Loading branch information
seberg committed Apr 13, 2019
1 parent dea1239 commit 6dac2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/src/umath/ufunc_object.c
Expand Up @@ -5572,7 +5572,7 @@ ufunc_at(PyUFuncObject *ufunc, PyObject *args)

PyUFuncGenericFunction innerloop;
void *innerloopdata;
int i;
npy_intp i;
int nop;

/* override vars */
Expand Down

0 comments on commit 6dac2d6

Please sign in to comment.