Skip to content

Commit

Permalink
core: fix exposition for type long on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Jan 26, 2024
1 parent 359ae03 commit a564a06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/matrix-long.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@

namespace eigenpy {
void exposeMatrixLong() {
#ifdef WIN32
exposeType<__int64>();
exposeType<__int64, Eigen::RowMajor>();
#else
exposeType<long>();
exposeType<long, Eigen::RowMajor>();
#endif
}
} // namespace eigenpy

0 comments on commit a564a06

Please sign in to comment.