Merge pull request #147 from ptrmu/ptrmu_fix_compile_error_in_timeGaussianFactorGraph_cpp
fix compile error in timeGaussianFactorGraph.cpprelease/4.3a0
commit
30cef2d88e
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue