From df0d8bb63cc9db672baf6787a4e1819e9f923c53 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sun, 27 Oct 2013 16:49:46 +0000 Subject: [PATCH] Allow other constructors to use fillTerms --- gtsam/linear/JacobianFactor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtsam/linear/JacobianFactor.h b/gtsam/linear/JacobianFactor.h index f5a2e9c62..55bcedf1d 100644 --- a/gtsam/linear/JacobianFactor.h +++ b/gtsam/linear/JacobianFactor.h @@ -301,12 +301,14 @@ namespace gtsam { */ boost::shared_ptr splitConditional(size_t nrFrontals); - private: + protected: /// Internal function to fill blocks and set dimensions template void fillTerms(const TERMS& terms, const Vector& b, const SharedDiagonal& noiseModel); + private: + /** Serialization function */ friend class boost::serialization::access; template