Commit b6ff76d5 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub

Merge pull request #873 from gabrielebndn/topic/fixmem

Fix memory errors in unit tests
parents 08371586 f2163745
......@@ -283,7 +283,6 @@ BOOST_AUTO_TEST_CASE(test_multiple_calls)
BOOST_CHECK(data1.dFdq.isApprox(data2.dFdq));
BOOST_CHECK(data1.dFdv.isApprox(data2.dFdv));
BOOST_CHECK(data1.dFda.isApprox(data2.dFda));
BOOST_CHECK(data1.dtau_dq.isApprox(data2.dtau_dq));
BOOST_CHECK(data1.dtau_dv.isApprox(data2.dtau_dv));
......
......@@ -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);
......
......@@ -43,7 +43,7 @@ BOOST_AUTO_TEST_CASE(frame_basic)
}
std::ostringstream os;
os << Frame() << std::endl;
os << Frame("toto",0,0,SE3::Random(),OP_FRAME) << std::endl;
BOOST_CHECK(!os.str().empty());
}
......
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