From 9af0a20439985ac4e0f57b083daf96927c97d2a7 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Wed, 15 Dec 2010 17:06:46 +0000 Subject: [PATCH] constness of access functions --- gtsam/nonlinear/NonlinearISAM.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/nonlinear/NonlinearISAM.h b/gtsam/nonlinear/NonlinearISAM.h index a40380f86..fe7a2001b 100644 --- a/gtsam/nonlinear/NonlinearISAM.h +++ b/gtsam/nonlinear/NonlinearISAM.h @@ -71,13 +71,13 @@ public: // access /** Return the current linearization point */ - const Values& getLinearizationPoint() { return linPoint_; } + const Values& getLinearizationPoint() const { return linPoint_; } /** Get the ordering */ const gtsam::Ordering& getOrdering() const { return ordering_; } /** get underlying nonlinear graph */ - const Factors& getFactorsUnsafe() { return factors_; } + const Factors& getFactorsUnsafe() const { return factors_; } /** get counters */ int reorderInterval() const { return reorderInterval_; }