Added explicit templated base class instantiation within NonlinearFactorGraph

release/4.3a0
Alex Cunningham 2013-08-08 16:51:04 +00:00
parent 92459bc33b
commit 2d7abe0710
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ using namespace std;
namespace gtsam {
// Instantiate base classes
template class FactorGraph<NonlinearFactor>;
/* ************************************************************************* */
double NonlinearFactorGraph::probPrime(const Values& c) const {
return exp(-0.5 * error(c));