fix compile error

release/4.3a0
Peter Mullen 2019-10-12 22:56:34 -07:00
parent e5a13b7b36
commit fc6d679484
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ double timeKalmanSmoother(int T) {
/* ************************************************************************* */
// Create a planar factor graph and optimize
double timePlanarSmoother(int N, bool old = true) {
GaussianFactorGraph fg = planarGraph(N).get<0>();
GaussianFactorGraph fg = planarGraph(N).first;
clock_t start = clock();
fg.optimize();
clock_t end = clock ();
@ -51,7 +51,7 @@ double timePlanarSmoother(int N, bool old = true) {
/* ************************************************************************* */
// Create a planar factor graph and eliminate
double timePlanarSmootherEliminate(int N, bool old = true) {
GaussianFactorGraph fg = planarGraph(N).get<0>();
GaussianFactorGraph fg = planarGraph(N).first;
clock_t start = clock();
fg.eliminateMultifrontal();
clock_t end = clock ();