Skip to content

Commit

Permalink
fix dimension for Pose3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Jul 9, 2021
1 parent 8b9e601 commit 2e40169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtsam/slam/tests/testBetweenFactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ TEST(BetweenFactor, Pose3Jacobians) {
Values values;
values.insert(1, pose1);
values.insert(2, pose2);
Vector3 error = factor.evaluateError(pose1, pose2);
EXPECT(assert_equal<Vector3>(Vector3::Zero(), error, 1e-9));
Vector6 error = factor.evaluateError(pose1, pose2);
EXPECT(assert_equal<Vector6>(Vector6::Zero(), error, 1e-9));
EXPECT_CORRECT_FACTOR_JACOBIANS(factor, values, 1e-7, 1e-5);
}

Expand Down

0 comments on commit 2e40169

Please sign in to comment.