Skip to content

Commit 793197d

Browse files
committed
core: fix compatibility with NumPy 2.x on Windows
1 parent 6753480 commit 793197d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numpy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void call_PyArray_InitArrFuncs(PyArray_ArrFuncs* funcs) {
5757
PyArray_InitArrFuncs(funcs);
5858
}
5959

60-
int call_PyArray_RegisterDataType(PyArray_Descr* dtype) {
60+
int call_PyArray_RegisterDataType(PyArray_DescrProto* dtype) {
6161
return PyArray_RegisterDataType(dtype);
6262
}
6363

0 commit comments

Comments
 (0)