Commit 8b00c45e authored by jcarpent's avatar jcarpent
Browse files

[Macros] Handle older version of Eigen

parent 475a8af0
......@@ -24,7 +24,16 @@
#define EIGEN_PLAIN_TYPE(D) Eigen::internal::plain_matrix_type<D>::type
/// \brief Macro giving access to the reference type of D
#define EIGEN_REF_CONSTTYPE(D) Eigen::internal::ref_selector<D>::type
#if EIGEN_VERSION_AT_LEAST(3,2,90)
#define EIGEN_REF_TYPE(D) Eigen::internal::ref_selector<D>::non_const_type
#else
#define EIGEN_REF_TYPE(D) \
Eigen::internal::conditional< \
bool(Eigen::internal::traits<D>::Flags & Eigen::NestByRefBit), \
D &, \
D \
>::type
#endif
#ifdef EIGEN3_BETA_3_2_9x
namespace se3
......
Supports Markdown
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