Skip to content

Commit

Permalink
Merge pull request numpy#13821 from WarrenWeckesser/fix-warning
Browse files Browse the repository at this point in the history
MAINT: core: Fix a compiler warning.
  • Loading branch information
mattip authored Jun 23, 2019
2 parents ccd206e + e80d6c3 commit c8ac523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/core/src/umath/ufunc_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,8 @@ _parse_signature(PyUFuncObject *ufunc, const char *signature)
PyErr_NoMemory();
goto fail;
}
for (i = 0; i < len; i++) {
ufunc->core_dim_flags[i] = 0;
for (size_t j = 0; j < len; j++) {
ufunc->core_dim_flags[j] = 0;
}

i = _next_non_white_space(signature, 0);
Expand Down

0 comments on commit c8ac523

Please sign in to comment.