Hi, I encountered this problem when compiling:
/usr/local/include/ceres/jet.h:998:8: error: ‘ScalarBinaryOpTraits’ is not a class template
struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> {
^
/usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for ‘template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits’
struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> {
^
/usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type ‘int’, got ‘BinaryOp’
and can you give me some suggestions? Thank you.
Hi, I encountered this problem when compiling: /usr/local/include/ceres/jet.h:998:8: error: ‘ScalarBinaryOpTraits’ is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for ‘template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits’ struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type ‘int’, got ‘BinaryOp’ and can you give me some suggestions? Thank you.