minor reformatting
parent
92874f76fa
commit
6c08c38478
|
@ -89,7 +89,7 @@ add_subdirectory(timing)
|
||||||
|
|
||||||
# Build gtsam_unstable
|
# Build gtsam_unstable
|
||||||
if (GTSAM_BUILD_UNSTABLE)
|
if (GTSAM_BUILD_UNSTABLE)
|
||||||
add_subdirectory(gtsam_unstable)
|
add_subdirectory(gtsam_unstable)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# This is the new wrapper
|
# This is the new wrapper
|
||||||
|
|
|
@ -59,8 +59,9 @@ class RangeFactor : public ExpressionFactorN<T, A1, A2> {
|
||||||
return Expression<T>(Range<A1, A2>(), a1_, a2_);
|
return Expression<T>(Range<A1, A2>(), a1_, a2_);
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector evaluateError(const A1& a1, const A2& a2, OptionalMatrixType H1 = OptionalNone,
|
Vector evaluateError(const A1& a1, const A2& a2,
|
||||||
OptionalMatrixType H2 = OptionalNone) const {
|
OptionalMatrixType H1 = OptionalNone,
|
||||||
|
OptionalMatrixType H2 = OptionalNone) const {
|
||||||
std::vector<Matrix> Hs(2);
|
std::vector<Matrix> Hs(2);
|
||||||
const auto& keys = Factor::keys();
|
const auto& keys = Factor::keys();
|
||||||
const Vector error = Base::unwhitenedError(
|
const Vector error = Base::unwhitenedError(
|
||||||
|
|
Loading…
Reference in New Issue