From b9260adf09da8df5ca3151777c18240f9b8ef8af Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Mon, 10 Mar 2025 21:53:21 -0400 Subject: [PATCH] Don't use column --- gtsam/geometry/tests/testUnit3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/geometry/tests/testUnit3.cpp b/gtsam/geometry/tests/testUnit3.cpp index 855e50a42..64a9ed071 100644 --- a/gtsam/geometry/tests/testUnit3.cpp +++ b/gtsam/geometry/tests/testUnit3.cpp @@ -67,7 +67,7 @@ static Unit3 rotate_(const Rot3& R, const Unit3& p) { TEST(Unit3, rotate) { Rot3 R = Rot3::Yaw(0.5); Unit3 p(1, 0, 0); - Unit3 expected = Unit3(R.column(1)); + Unit3 expected = Unit3(R.matrix().col(0)); Unit3 actual = R * p; EXPECT(assert_equal(expected, actual, 1e-5)); Matrix actualH, expectedH;