Skip to content
Snippets Groups Projects
Commit 74145284 authored by jcarpent's avatar jcarpent
Browse files

[Algo] Fix bug in the use of BOOST_FOREACH

parent f263e5fa
No related branches found
No related tags found
No related merge requests found
......@@ -50,8 +50,9 @@ namespace se3
{
using namespace se3::details;
Eigen::VectorXd fd_increment(model.nv);
BOOST_FOREACH(const JointModel & jmodel,model.joints)
for(int k = 1; k < model.joints.size(); ++k)
{
const JointModel & jmodel = model.joints[k];
FinitDiffEpsVisitor::run(jmodel,FinitDiffEpsVisitor::ArgsType(fd_increment));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment