constness of access functions

release/4.3a0
Alex Cunningham 2010-12-15 17:06:46 +00:00
parent 000e58d4b2
commit 9af0a20439
1 changed files with 2 additions and 2 deletions

View File

@ -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_; }