From 46cfa8406838d787b7e904a5842279136cab3e2b Mon Sep 17 00:00:00 2001 From: Yong-Dian Jian Date: Mon, 25 Oct 2010 22:26:18 +0000 Subject: [PATCH] revised include files --- examples/Pose2SLAMwSPCG_advanced.cpp | 6 +----- examples/Pose2SLAMwSPCG_easy.cpp | 7 ++----- 2 files changed, 3 insertions(+), 10 deletions(-) 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) {