Verified Commit 950963c6 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: enforce definition for APPLE systems

parent 85e6bcd9
......@@ -44,7 +44,9 @@ namespace eigenpy
template <> struct NumpyEquivalentType<bool> { enum { type_code = NPY_BOOL };};
template <> struct NumpyEquivalentType<int> { enum { type_code = NPY_INT };};
template <> struct NumpyEquivalentType<unsigned int> { enum { type_code = NPY_UINT };};
template <> struct NumpyEquivalentType<long> { enum { type_code = NPY_LONG };};
#if __APPLE__
template <> struct NumpyEquivalentType<long> { enum { type_code = NPY_INT64 };};
#endif
template <> struct NumpyEquivalentType<unsigned long> { enum { type_code = NPY_ULONG };};
template <> struct NumpyEquivalentType<int64_t> { enum { type_code = NPY_INT64 };};
// template <> struct NumpyEquivalentType<long long> { enum { type_code = NPY_LONGLONG };};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment