Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Jun 30, 2023
1 parent e5149ed commit b3f6e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajopt_ifopt/test/inverse_kinematics_constraint_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ TEST_F(InverseKinematicsConstraintUnit, GetValue) // NOLINT

// Get the value (distance from IK position)
Eigen::VectorXd values = constraint->GetValues();
EXPECT_TRUE(values.isApprox(Eigen::VectorXd::Zero(n_dof)));
EXPECT_TRUE(values.isApprox(Eigen::VectorXd::Zero(n_dof), 1e-8));

// Check that jac wrt constraint_var is identity
{
Expand Down

0 comments on commit b3f6e70

Please sign in to comment.