We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4904470 commit 3a84ce5Copy full SHA for 3a84ce5
include/eigenpy/numpy.hpp
@@ -139,12 +139,14 @@ struct NumpyEquivalentType<unsigned long> {
139
// See https://github.com/stack-of-tasks/eigenpy/pull/455
140
#if defined __linux__
141
142
+#include <type_traits>
143
+
144
template <>
-struct NumpyEquivalentType<long long> {
145
+struct NumpyEquivalentType<std::enable_if<!std::is_same<int64_t, long long>::value, long long>::type> {
146
enum { type_code = NPY_LONGLONG };
147
};
148
-struct NumpyEquivalentType<unsigned long long> {
149
+struct NumpyEquivalentType<std::enable_if<!std::is_same<uint64_t, unsigned long long>::value, unsigned long long>::type> {
150
enum { type_code = NPY_ULONGLONG };
151
152
0 commit comments