involves is const

release/4.3a0
Frank Dellaert 2009-11-20 14:17:52 +00:00
parent 5f848f272b
commit d234365d53
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ namespace gtsam {
Ordering keys() const;
/** Check whether a factor with this variable exists */
bool involves(const std::string& key) {
bool involves(const std::string& key) const {
return !(indices_.find(key)==indices_.end());
}