conditionally compile Chebyshev2 Pose3 test

release/4.3a0
Varun Agrawal 2023-06-06 18:20:11 -04:00
parent 87687cee9f
commit 9ae4146ef8
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,7 @@ TEST(Chebyshev2, InterpolatePose2) {
EXPECT(assert_equal(numericalH, actualH, 1e-9)); EXPECT(assert_equal(numericalH, actualH, 1e-9));
} }
#ifdef GTSAM_POSE3_EXPMAP
//****************************************************************************** //******************************************************************************
// Interpolating poses using the exponential map // Interpolating poses using the exponential map
TEST(Chebyshev2, InterpolatePose3) { TEST(Chebyshev2, InterpolatePose3) {
@ -184,6 +185,7 @@ TEST(Chebyshev2, InterpolatePose3) {
numericalDerivative11<Pose3, ParameterMatrix<6>, 6 * N>(f, X); numericalDerivative11<Pose3, ParameterMatrix<6>, 6 * N>(f, X);
EXPECT(assert_equal(numericalH, actualH, 1e-8)); EXPECT(assert_equal(numericalH, actualH, 1e-8));
} }
#endif
//****************************************************************************** //******************************************************************************
TEST(Chebyshev2, Decomposition) { TEST(Chebyshev2, Decomposition) {