Skip to content

Commit bb7157b

Browse files
wip: Fix CI failure #4
1 parent f3f3f4b commit bb7157b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/numpy_ufunc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ class ufunc : public object {
202202
// Determine if we need to make a new ufunc.
203203
bool is_core = true;
204204
for (int i = 0; i < N; ++i) {
205-
size_t is = static_cast<size_t>(i);
206-
if (dtype_args[i] >= detail::npy_api::constants::NPY_USERDEF_)
205+
size_t ii = static_cast<size_t>(i);
206+
if (dtype_args[ii] >= detail::npy_api::constants::NPY_USERDEF_)
207207
is_core = false;
208208
}
209209
if (is_core) {

0 commit comments

Comments
 (0)