Skip to content

Commit eeaad59

Browse files
committed
core/numpy: fix function signature
1 parent 211c70d commit eeaad59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/eigenpy/numpy.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 INRIA
2+
* Copyright 2020-2024 INRIA
33
*/
44

55
#ifndef __eigenpy_numpy_hpp__
@@ -215,7 +215,7 @@ EIGENPY_DLLAPI PyArray_Descr* call_PyArray_DescrFromType(int typenum);
215215

216216
EIGENPY_DLLAPI void call_PyArray_InitArrFuncs(PyArray_ArrFuncs* funcs);
217217

218-
EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_Descr* dtype);
218+
EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_DescrProto* dtype);
219219

220220
EIGENPY_DLLAPI int call_PyArray_RegisterCanCast(PyArray_Descr* descr,
221221
int totype,

src/numpy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 INRIA
2+
* Copyright 2020-2024 INRIA
33
*/
44

55
#include "eigenpy/numpy.hpp"

0 commit comments

Comments
 (0)