diff --git a/examples/Pose2SLAMwSPCG_advanced.cpp b/examples/Pose2SLAMwSPCG_advanced.cpp index eee3d6b03..dc48f2bea 100644 --- a/examples/Pose2SLAMwSPCG_advanced.cpp +++ b/examples/Pose2SLAMwSPCG_advanced.cpp @@ -15,11 +15,9 @@ #include -#include -#include +#include #include #include -#include using namespace std; using namespace gtsam; @@ -31,9 +29,7 @@ typedef boost::shared_ptr sharedValue ; typedef SubgraphSolver Solver; - typedef boost::shared_ptr sharedSolver ; - typedef NonlinearOptimizer SPCGOptimizer; sharedGraph graph; diff --git a/examples/Pose2SLAMwSPCG_easy.cpp b/examples/Pose2SLAMwSPCG_easy.cpp index 75d9df58e..e1de4a024 100644 --- a/examples/Pose2SLAMwSPCG_easy.cpp +++ b/examples/Pose2SLAMwSPCG_easy.cpp @@ -16,10 +16,9 @@ #include -#include -#include -#include #include +#include + using namespace std; using namespace gtsam; @@ -29,8 +28,6 @@ Graph graph; Values initial; Values result; - - /* ************************************************************************* */ int main(void) {