Removed extra const
parent
4585fd1caa
commit
f983026225
|
|
@ -109,7 +109,7 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
const Vector VectorValues::vector() const
|
Vector VectorValues::vector() const
|
||||||
{
|
{
|
||||||
// Count dimensions
|
// Count dimensions
|
||||||
DenseIndex totalDim = 0;
|
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
|
// Count dimensions and collect pointers to avoid double lookups
|
||||||
DenseIndex totalDim = 0;
|
DenseIndex totalDim = 0;
|
||||||
|
|
|
||||||
|
|
@ -238,10 +238,10 @@ namespace gtsam {
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
/** Retrieve the entire solution as a single vector */
|
/** 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. */
|
/** 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. */
|
/** Swap the data in this VectorValues with another. */
|
||||||
void swap(VectorValues& other);
|
void swap(VectorValues& other);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue