From 1054dce9a2b4aa6a2cee9818697c7e7f263383bf Mon Sep 17 00:00:00 2001
From: jcarpent <jcarpent@laas.fr>
Date: Thu, 11 Jan 2018 13:46:33 +0100
Subject: [PATCH] [Core] Change minimal Eigen version

---
 src/ref.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ref.hpp b/src/ref.hpp
index 641228e..c651e1d 100644
--- a/src/ref.hpp
+++ b/src/ref.hpp
@@ -21,7 +21,7 @@
 
 // For old Eigen versions, EIGEN_DEVICE_FUNC is not defined.
 // We must define it just in the scope of this file.
-#if not EIGEN_VERSION_AT_LEAST(3,2,91)
+#if not EIGEN_VERSION_AT_LEAST(3,2,90)
 #define EIGEN_DEVICE_FUNC
 #endif
 
@@ -58,7 +58,7 @@ namespace eigenpy
     typedef typename Base::CoeffReturnType CoeffReturnType; /*!< \brief The return type for coefficient access. \details Depending on whether the object allows direct coefficient access (e.g. for a MatrixXd), this type is either 'const Scalar&' or simply 'Scalar' for objects that do not allow direct coefficient access. */
     typedef typename Eigen::internal::ref_selector<Base>::type Nested;
     typedef typename Eigen::internal::traits<Base>::StorageKind StorageKind;
-#if EIGEN_VERSION_AT_LEAST(3,2,91)
+#if EIGEN_VERSION_AT_LEAST(3,2,90)
     typedef typename Eigen::internal::traits<Base>::StorageIndex StorageIndex;
 #else
     typedef typename Eigen::internal::traits<Base>::Index StorageIndex;
@@ -104,7 +104,7 @@ namespace eigenpy
   }; // struct Ref<PlainObjectType>
 }
 
-#if not EIGEN_VERSION_AT_LEAST(3,2,91)
+#if not EIGEN_VERSION_AT_LEAST(3,2,90)
 #undef EIGEN_DEVICE_FUNC
 #endif
 
-- 
GitLab