Fixed bug in add() - now finds the correct function

release/4.3a0
Alex Cunningham 2011-11-18 17:08:24 +00:00
parent 8bc83d4219
commit 163e60d43d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ namespace gtsam {
template<class F>
void add(const F& factor) {
push_back(boost::shared_ptr<F>(new F(factor)));
this->push_back(boost::shared_ptr<F>(new F(factor)));
}
/**