Commit b5ee6ba7 authored by Gabriele Buondonno's avatar Gabriele Buondonno

[minor] [unittest] [contact-dynamics] Fix memory errors

parent 9e228405
......@@ -292,8 +292,10 @@ BOOST_AUTO_TEST_CASE (timings_fd_llt)
const std::string LF = "lleg6_joint";
Data::Matrix6x J_RF (6, model.nv);
J_RF.setZero();
getJointJacobian(model, data, model.getJointId(RF), LOCAL, J_RF);
Data::Matrix6x J_LF (6, model.nv);
J_LF.setZero();
getJointJacobian(model, data, model.getJointId(LF), LOCAL, J_LF);
Eigen::MatrixXd J (12, model.nv);
......
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