diff --git a/tests/testExtendedKalmanFilter.cpp b/tests/testExtendedKalmanFilter.cpp index f36ad8fe8..8aabefc65 100644 --- a/tests/testExtendedKalmanFilter.cpp +++ b/tests/testExtendedKalmanFilter.cpp @@ -97,7 +97,7 @@ TEST( ExtendedKalmanFilter, linear ) { // Create Motion Model Factor class NonlinearMotionModel : public NonlinearFactor2 { public: - typedef typename LinearKey::Value T; + typedef LinearKey::Value T; private: typedef NonlinearFactor2 Base; @@ -245,7 +245,7 @@ public: // Create Measurement Model Factor class NonlinearMeasurementModel : public NonlinearFactor1 { public: - typedef typename LinearKey::Value T; + typedef LinearKey::Value T; private: