diff --git a/slam/tests/testVSLAMGraph.cpp b/slam/tests/testVSLAMGraph.cpp index a3c973859..14a5608cc 100644 --- a/slam/tests/testVSLAMGraph.cpp +++ b/slam/tests/testVSLAMGraph.cpp @@ -33,7 +33,7 @@ using namespace std; using namespace gtsam; using namespace gtsam::visualSLAM; using namespace boost; -typedef NonlinearOptimizer Optimizer; + static SharedGaussian sigma(noiseModel::Unit::Create(1)); /* ************************************************************************* */