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

[C++] Correct return type

parent a676e660
Branches
Tags
No related merge requests found
......@@ -47,7 +47,7 @@ namespace se3
JOINT_VISITOR_INIT(RneaForwardStep);
template<typename JointModel>
static int algo(const se3::JointModelBase<JointModel> & jmodel,
static void algo(const se3::JointModelBase<JointModel> & jmodel,
se3::JointDataBase<typename JointModel::JointData> & jdata,
const se3::Model& model,
se3::Data& data,
......@@ -71,7 +71,6 @@ namespace se3
data.a_gf[(Model::Index)i] += data.liMi[(Model::Index)i].actInv(data.a_gf[parent]);
data.f[(Model::Index)i] = model.inertias[(Model::Index)i]*data.a_gf[(Model::Index)i] + model.inertias[(Model::Index)i].vxiv(data.v[(Model::Index)i]); // -f_ext
return 0;
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment