From a564a065e0687824964df3c70ad8c8fab6f09d20 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Fri, 26 Jan 2024 16:19:17 +0100 Subject: [PATCH] core: fix exposition for type long on Windows --- src/matrix-long.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/matrix-long.cpp b/src/matrix-long.cpp index db29afd4b..f52e89f1a 100644 --- a/src/matrix-long.cpp +++ b/src/matrix-long.cpp @@ -6,7 +6,12 @@ namespace eigenpy { void exposeMatrixLong() { +#ifdef WIN32 + exposeType<__int64>(); + exposeType<__int64, Eigen::RowMajor>(); +#else exposeType(); exposeType(); +#endif } } // namespace eigenpy