Skip to content

Commit bc6e03f

Browse files
authored
Merge pull request #492 from jcarpent/topic/devel
Fix compatibility issue with NumPy 2.x on Windows
2 parents 6753480 + 161293b commit bc6e03f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
### Fixed
10+
- Fix compatibility issue with NumPy 2.x on Windows ([#492](https://github.com/stack-of-tasks/eigenpy/pull/492))
11+
912
## [3.8.0] - 2024-08-14
1013

1114
### Added

cmake

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)