diff --git a/gtsam/linear/IterativeSolver.h b/gtsam/linear/IterativeSolver.h index 3c397c9e9..d6e1b6e98 100644 --- a/gtsam/linear/IterativeSolver.h +++ b/gtsam/linear/IterativeSolver.h @@ -106,9 +106,9 @@ namespace gtsam { typedef boost::tuple Base; KeyInfoEntry(){} KeyInfoEntry(size_t idx, size_t d, Key start) : Base(idx, d, start) {} - const size_t index() const { return this->get<0>(); } - const size_t dim() const { return this->get<1>(); } - const size_t colstart() const { return this->get<2>(); } + size_t index() const { return this->get<0>(); } + size_t dim() const { return this->get<1>(); } + size_t colstart() const { return this->get<2>(); } }; /************************************************************************************/