Skip to content

Commit 1a6982e

Browse files
wip: Fix CI failure #3
1 parent 33eabdd commit 1a6982e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/pybind11/numpy_ufunc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ 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);
205206
if (dtype_args[i] >= detail::npy_api::constants::NPY_USERDEF_)
206207
is_core = false;
207208
}

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'include/pybind11/detail/common.h',
1818
'include/pybind11/detail/descr.h',
1919
'include/pybind11/detail/init.h',
20+
'include/pybind11/detail/inference.h',
2021
'include/pybind11/detail/internals.h',
2122
'include/pybind11/detail/typeid.h',
2223
'include/pybind11/attr.h',
@@ -31,6 +32,8 @@
3132
'include/pybind11/functional.h',
3233
'include/pybind11/iostream.h',
3334
'include/pybind11/numpy.h',
35+
'include/pybind11/numpy_dtypes_user.h',
36+
'include/pybind11/numpy_ufunc.h',
3437
'include/pybind11/operators.h',
3538
'include/pybind11/options.h',
3639
'include/pybind11/pybind11.h',

0 commit comments

Comments
 (0)