Verified Commit 6da0034f authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test/joint-config: fix potential bug

parent a4ec68e9
......@@ -213,8 +213,8 @@ BOOST_AUTO_TEST_CASE ( diff_difference_vs_diff_integrate )
dDifference(model,q0,q1,J_diff_dq0,ARG0);
dDifference(model,q0,q1,J_diff_dq1,ARG1);
BOOST_CHECK(J_int_dq.isApprox(-(J_int_dv * J_diff_dq0)));
BOOST_CHECK((J_int_dv * J_diff_dq1).isIdentity());
BOOST_CHECK(J_int_dq.isApprox(Eigen::MatrixXd(-(J_int_dv * J_diff_dq0))));
BOOST_CHECK(Eigen::MatrixXd(J_int_dv * J_diff_dq1).isIdentity());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment