diff --git a/CMakeLists.txt b/CMakeLists.txt index 39eefa6e6..9be0d89a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ add_subdirectory(timing) # Build gtsam_unstable if (GTSAM_BUILD_UNSTABLE) - add_subdirectory(gtsam_unstable) + add_subdirectory(gtsam_unstable) endif() # This is the new wrapper diff --git a/gtsam/sam/RangeFactor.h b/gtsam/sam/RangeFactor.h index 5fa618f51..477c4e0e6 100644 --- a/gtsam/sam/RangeFactor.h +++ b/gtsam/sam/RangeFactor.h @@ -59,8 +59,9 @@ class RangeFactor : public ExpressionFactorN { return Expression(Range(), a1_, a2_); } - Vector evaluateError(const A1& a1, const A2& a2, OptionalMatrixType H1 = OptionalNone, - OptionalMatrixType H2 = OptionalNone) const { + Vector evaluateError(const A1& a1, const A2& a2, + OptionalMatrixType H1 = OptionalNone, + OptionalMatrixType H2 = OptionalNone) const { std::vector Hs(2); const auto& keys = Factor::keys(); const Vector error = Base::unwhitenedError(