From f983026225c5d290808243db3768a0b058a47e9d Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sun, 11 Aug 2013 18:17:18 +0000 Subject: [PATCH] Removed extra const --- gtsam/linear/VectorValues.cpp | 4 ++-- gtsam/linear/VectorValues.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtsam/linear/VectorValues.cpp b/gtsam/linear/VectorValues.cpp index ceb58e551..c7153e349 100644 --- a/gtsam/linear/VectorValues.cpp +++ b/gtsam/linear/VectorValues.cpp @@ -109,7 +109,7 @@ namespace gtsam { } /* ************************************************************************* */ - const Vector VectorValues::vector() const + Vector VectorValues::vector() const { // Count dimensions DenseIndex totalDim = 0; @@ -128,7 +128,7 @@ namespace gtsam { } /* ************************************************************************* */ - const Vector VectorValues::vector(const std::vector& keys) const + Vector VectorValues::vector(const std::vector& keys) const { // Count dimensions and collect pointers to avoid double lookups DenseIndex totalDim = 0; diff --git a/gtsam/linear/VectorValues.h b/gtsam/linear/VectorValues.h index 39e332263..c8de78dca 100644 --- a/gtsam/linear/VectorValues.h +++ b/gtsam/linear/VectorValues.h @@ -238,10 +238,10 @@ namespace gtsam { /// @{ /** Retrieve the entire solution as a single vector */ - const Vector vector() const; + Vector vector() const; /** Access a vector that is a subset of relevant keys. */ - const Vector vector(const std::vector& keys) const; + Vector vector(const std::vector& keys) const; /** Swap the data in this VectorValues with another. */ void swap(VectorValues& other);