fix ros gtsam 4.2a9 build (#1108)

This commit is contained in:
Borong Yuan
2023-08-07 07:33:23 -07:00
committed by GitHub
parent a94a4c9802
commit f0ba56bf5e
9 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ public:
// @param p the pose in Pose2
// @param H the optional Jacobian matrix, which use boost optional and has default null pointer
gtsam::Vector evaluateError(const VALUE& p,
#if GTSAM_VERSION_MAJOR > 4 || (GTSAM_VERSION_MAJOR == 4 && GTSAM_VERSION_MINOR >= 3)
#if GTSAM_VERSION_NUMERIC >= 40300
OptionalMatrixType H = OptionalNone) const {
#else
boost::optional<gtsam::Matrix&> H = boost::none) const {