diff --git a/gtsam/navigation/tests/testScenario.cpp b/gtsam/navigation/tests/testScenario.cpp index 161b8841a..f814f1710 100644 --- a/gtsam/navigation/tests/testScenario.cpp +++ b/gtsam/navigation/tests/testScenario.cpp @@ -106,7 +106,7 @@ TEST(Scenario, LoopWithInitialPose) { // Pitch up with angular velocity 6 kDegree/sec (negative in FLU) const double v = 2, w = 6 * kDegree; const Vector3 W(0, -w, 0), V(v, 0, 0); - const Rot3 nRb0 = Rot3::yaw(M_PI); + const Rot3 nRb0 = Rot3::Yaw(M_PI); const Pose3 nTb0(nRb0, Point3(1, 2, 3)); const ConstantTwistScenario scenario(W, V, nTb0); diff --git a/tests/testManifold.cpp b/tests/testManifold.cpp index 286e3ff5e..195914176 100644 --- a/tests/testManifold.cpp +++ b/tests/testManifold.cpp @@ -149,6 +149,7 @@ TEST(Manifold, DefaultChart) { EXPECT(assert_equal((Vector) Z_3x1, traits::Local(R, R))); } +#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V4 //****************************************************************************** typedef ProductManifold MyPoint2Pair; @@ -174,6 +175,7 @@ TEST(Manifold, ProductManifold) { EXPECT(assert_equal(expected,pair2,1e-9)); EXPECT(assert_equal(d, pair1.localCoordinates(pair2),1e-9)); } +#endif //****************************************************************************** int main() {