Update the minimum required version of Eigen to 3.3.

Change-Id: I6e6bd745311b7d4f1d5b749ec70d314f9e765438
This commit is contained in:
Sameer Agarwal
2019-12-05 07:31:09 -08:00
parent aa6ef417f3
commit edb8322bda
5 changed files with 7 additions and 53 deletions
-2
View File
@@ -941,7 +941,6 @@ struct NumTraits<ceres::Jet<T, N>> {
static inline Real lowest() { return Real(-std::numeric_limits<T>::max()); }
};
#if EIGEN_VERSION_AT_LEAST(3, 3, 0)
// Specifying the return type of binary operations between Jets and scalar types
// allows you to perform matrix/array operations with Eigen matrices and arrays
// such as addition, subtraction, multiplication, and division where one Eigen
@@ -956,7 +955,6 @@ template <typename BinaryOp, typename T, int N>
struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> {
typedef ceres::Jet<T, N> ReturnType;
};
#endif // EIGEN_VERSION_AT_LEAST(3, 3, 0)
} // namespace Eigen