From 0c77d26711e5e04744dd3e6f6993ec455c037c04 Mon Sep 17 00:00:00 2001 From: kartik arcot Date: Fri, 20 Jan 2023 09:48:07 -0800 Subject: [PATCH] remove adaptor headers --- gtsam/discrete/DiscreteBayesNet.cpp | 2 -- gtsam/inference/BayesNet-inst.h | 1 - gtsam/linear/tests/testRegularJacobianFactor.cpp | 3 --- gtsam/nonlinear/Expression-inl.h | 5 ----- gtsam/nonlinear/ISAM2-impl.cpp | 1 - gtsam/nonlinear/LevenbergMarquardtParams.cpp | 1 - gtsam/slam/tests/testRegularImplicitSchurFactor.cpp | 2 -- gtsam_unstable/linear/ActiveSetSolver.h | 3 +-- gtsam_unstable/linear/tests/testLPSolver.cpp | 3 --- tests/testSubgraphPreconditioner.cpp | 3 --- 10 files changed, 1 insertion(+), 23 deletions(-) diff --git a/gtsam/discrete/DiscreteBayesNet.cpp b/gtsam/discrete/DiscreteBayesNet.cpp index 66c0a72e9..f754250ed 100644 --- a/gtsam/discrete/DiscreteBayesNet.cpp +++ b/gtsam/discrete/DiscreteBayesNet.cpp @@ -20,8 +20,6 @@ #include #include -#include - namespace gtsam { // Instantiate base class diff --git a/gtsam/inference/BayesNet-inst.h b/gtsam/inference/BayesNet-inst.h index 6d436d079..a6aa0a70a 100644 --- a/gtsam/inference/BayesNet-inst.h +++ b/gtsam/inference/BayesNet-inst.h @@ -21,7 +21,6 @@ #include #include -#include #include #include diff --git a/gtsam/linear/tests/testRegularJacobianFactor.cpp b/gtsam/linear/tests/testRegularJacobianFactor.cpp index 205d9d092..a21bbf982 100644 --- a/gtsam/linear/tests/testRegularJacobianFactor.cpp +++ b/gtsam/linear/tests/testRegularJacobianFactor.cpp @@ -24,9 +24,6 @@ #include -#include -#include - using namespace std; using namespace gtsam; diff --git a/gtsam/nonlinear/Expression-inl.h b/gtsam/nonlinear/Expression-inl.h index a18052556..fdafbd22e 100644 --- a/gtsam/nonlinear/Expression-inl.h +++ b/gtsam/nonlinear/Expression-inl.h @@ -21,11 +21,6 @@ #include -#include -#include -#include -#include - namespace gtsam { template diff --git a/gtsam/nonlinear/ISAM2-impl.cpp b/gtsam/nonlinear/ISAM2-impl.cpp index a809cbc08..20874e2dc 100644 --- a/gtsam/nonlinear/ISAM2-impl.cpp +++ b/gtsam/nonlinear/ISAM2-impl.cpp @@ -22,7 +22,6 @@ #include // for selective linearization thresholds #include -#include #include #include #include diff --git a/gtsam/nonlinear/LevenbergMarquardtParams.cpp b/gtsam/nonlinear/LevenbergMarquardtParams.cpp index caa2cc083..32de3ffbe 100644 --- a/gtsam/nonlinear/LevenbergMarquardtParams.cpp +++ b/gtsam/nonlinear/LevenbergMarquardtParams.cpp @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/gtsam/slam/tests/testRegularImplicitSchurFactor.cpp b/gtsam/slam/tests/testRegularImplicitSchurFactor.cpp index 9f39082a5..98809e959 100644 --- a/gtsam/slam/tests/testRegularImplicitSchurFactor.cpp +++ b/gtsam/slam/tests/testRegularImplicitSchurFactor.cpp @@ -27,8 +27,6 @@ #include #include -#include -#include #include using namespace std; diff --git a/gtsam_unstable/linear/ActiveSetSolver.h b/gtsam_unstable/linear/ActiveSetSolver.h index 21d01f902..52a6b1265 100644 --- a/gtsam_unstable/linear/ActiveSetSolver.h +++ b/gtsam_unstable/linear/ActiveSetSolver.h @@ -20,7 +20,6 @@ #include #include -#include namespace gtsam { @@ -201,4 +200,4 @@ Key maxKey(const PROBLEM& problem) { } // namespace gtsam -#include \ No newline at end of file +#include diff --git a/gtsam_unstable/linear/tests/testLPSolver.cpp b/gtsam_unstable/linear/tests/testLPSolver.cpp index dc55183cf..7ef26a1c9 100644 --- a/gtsam_unstable/linear/tests/testLPSolver.cpp +++ b/gtsam_unstable/linear/tests/testLPSolver.cpp @@ -30,9 +30,6 @@ #include -#include -#include - using namespace std; using namespace gtsam; using namespace gtsam::symbol_shorthand; diff --git a/tests/testSubgraphPreconditioner.cpp b/tests/testSubgraphPreconditioner.cpp index 5f43a0543..155795939 100644 --- a/tests/testSubgraphPreconditioner.cpp +++ b/tests/testSubgraphPreconditioner.cpp @@ -29,9 +29,6 @@ #include -#include -#include - #include using namespace std;