Fixed bug in add() - now finds the correct function
parent
8bc83d4219
commit
163e60d43d
|
|
@ -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)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue