Skip to content

Commit 1054dce

Browse files
committed
[Core] Change minimal Eigen version
1 parent 403fd7a commit 1054dce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ref.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
// For old Eigen versions, EIGEN_DEVICE_FUNC is not defined.
2323
// We must define it just in the scope of this file.
24-
#if not EIGEN_VERSION_AT_LEAST(3,2,91)
24+
#if not EIGEN_VERSION_AT_LEAST(3,2,90)
2525
#define EIGEN_DEVICE_FUNC
2626
#endif
2727

@@ -58,7 +58,7 @@ namespace eigenpy
5858
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. */
5959
typedef typename Eigen::internal::ref_selector<Base>::type Nested;
6060
typedef typename Eigen::internal::traits<Base>::StorageKind StorageKind;
61-
#if EIGEN_VERSION_AT_LEAST(3,2,91)
61+
#if EIGEN_VERSION_AT_LEAST(3,2,90)
6262
typedef typename Eigen::internal::traits<Base>::StorageIndex StorageIndex;
6363
#else
6464
typedef typename Eigen::internal::traits<Base>::Index StorageIndex;
@@ -104,7 +104,7 @@ namespace eigenpy
104104
}; // struct Ref<PlainObjectType>
105105
}
106106

107-
#if not EIGEN_VERSION_AT_LEAST(3,2,91)
107+
#if not EIGEN_VERSION_AT_LEAST(3,2,90)
108108
#undef EIGEN_DEVICE_FUNC
109109
#endif
110110

0 commit comments

Comments
 (0)