fix return value from key to size_t.

release/4.3a0
krunalchande 2014-12-23 18:12:24 -05:00 committed by thduynguyen
parent e74b737a66
commit 2791f2930b
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ namespace gtsam {
/// @{
/** Number of variables stored. */
Key size() const { return values_.size(); }
size_t size() const { return values_.size(); }
/** Return the dimension of variable \c j. */
size_t dim(Key j) const { return at(j).rows(); }