diff --git a/gtsam/base/FastSet.h b/gtsam/base/FastSet.h index a5ee77495..6fe2d06e3 100644 --- a/gtsam/base/FastSet.h +++ b/gtsam/base/FastSet.h @@ -18,6 +18,7 @@ #pragma once +#include #if BOOST_VERSION >= 107400 #include #endif diff --git a/gtsam/discrete/tests/testDecisionTree.cpp b/gtsam/discrete/tests/testDecisionTree.cpp index dbfb2dc40..967023eeb 100644 --- a/gtsam/discrete/tests/testDecisionTree.cpp +++ b/gtsam/discrete/tests/testDecisionTree.cpp @@ -17,17 +17,19 @@ * @date Jan 30, 2012 */ -#include -using namespace boost::assign; - -#include -#include -#include - // #define DT_DEBUG_MEMORY // #define DT_NO_PRUNING #define DISABLE_DOT #include + +#include +#include + +#include + +#include +using namespace boost::assign; + using namespace std; using namespace gtsam; @@ -148,9 +150,9 @@ TEST(DecisionTree, example) { DOT(notb); // Check supplying empty trees yields an exception - CHECK_EXCEPTION(apply(empty, &Ring::id), std::runtime_error); - CHECK_EXCEPTION(apply(empty, a, &Ring::mul), std::runtime_error); - CHECK_EXCEPTION(apply(a, empty, &Ring::mul), std::runtime_error); + CHECK_EXCEPTION(gtsam::apply(empty, &Ring::id), std::runtime_error); + CHECK_EXCEPTION(gtsam::apply(empty, a, &Ring::mul), std::runtime_error); + CHECK_EXCEPTION(gtsam::apply(a, empty, &Ring::mul), std::runtime_error); // apply, two nodes, in natural order DT anotb = apply(a, notb, &Ring::mul); diff --git a/gtsam/slam/tests/testSerializationSlam.cpp b/gtsam/slam/tests/testSerializationInSlam.cpp similarity index 100% rename from gtsam/slam/tests/testSerializationSlam.cpp rename to gtsam/slam/tests/testSerializationInSlam.cpp