Removed extra const

release/4.3a0
Richard Roberts 2013-08-11 18:17:18 +00:00
parent 4585fd1caa
commit f983026225
2 changed files with 4 additions and 4 deletions

View File

@ -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<Key>& keys) const
Vector VectorValues::vector(const std::vector<Key>& keys) const
{
// Count dimensions and collect pointers to avoid double lookups
DenseIndex totalDim = 0;

View File

@ -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<Key>& keys) const;
Vector vector(const std::vector<Key>& keys) const;
/** Swap the data in this VectorValues with another. */
void swap(VectorValues& other);