Verified Commit 1fe6bc1e authored by Justin Carpentier's avatar Justin Carpentier
Browse files

math/tensor: handle older versions of Eigen

parent 932873e1
......@@ -11,6 +11,10 @@
#include <unsupported/Eigen/CXX11/Tensor>
#endif
#if !EIGEN_VERSION_AT_LEAST(3,2,90)
#define EIGEN_DEVICE_FUNC
#endif
namespace pinocchio
{
......@@ -138,4 +142,8 @@ namespace pinocchio
}
#if !EIGEN_VERSION_AT_LEAST(3,2,90)
#undef EIGEN_DEVICE_FUNC
#endif
#endif // ifndef __pinocchio_math_tensor_hpp__
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