diff --git a/gtsam/slam/tests/testProjectionFactor.cpp b/gtsam/slam/tests/testProjectionFactor.cpp index ac9a6891d..1bda97951 100644 --- a/gtsam/slam/tests/testProjectionFactor.cpp +++ b/gtsam/slam/tests/testProjectionFactor.cpp @@ -16,9 +16,13 @@ * @date Nov 2009 */ -#include +#include +#include +#include #include #include +#include +#include #include using namespace std; @@ -80,7 +84,7 @@ TEST( ProjectionFactor, error ) CHECK(assert_equal(expected,*actual,1e-3)); // linearize graph - visualSLAM::Graph graph; + NonlinearFactorGraph graph; graph.push_back(factor); FactorGraph expected_lfg; expected_lfg.push_back(actual);