Skip to content

Commit

Permalink
core: fix special case on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Jan 26, 2024
1 parent eeb955a commit 27be5ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/eigenpy/numpy-type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ bool np_type_is_convertible_into_scalar(const int np_type) {
switch (np_type) {
case NPY_INT:
return FromTypeToType<int, Scalar>::value;
#ifdef WIN32
case NPY_INT64:
return FromTypeToType<__int64, Scalar>::value;
#endif
case NPY_LONG:
return FromTypeToType<long, Scalar>::value;
case NPY_FLOAT:
Expand Down

0 comments on commit 27be5ae

Please sign in to comment.