Skip to content
Snippets Groups Projects
Commit 0bdcb37d authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Fix virtual destructor for pinocchiorobot

Fix sizetype.
parent 65100b45
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ namespace PatternGeneratorJRL
/// Constructor and Destructor
PinocchioRobot();
~PinocchioRobot();
virtual ~PinocchioRobot();
/// Functions computing kinematics and dynamics
void computeInverseDynamics();
......
......@@ -467,7 +467,8 @@ std::vector<se3::JointIndex> PinocchioRobot::jointsBetween
++lastCommonRank;
}
for(unsigned k=fromRootToFirst.size()-1; k>lastCommonRank ; --k)
for(std::vector<se3::JointIndex>::size_type k=fromRootToFirst.size()-1;
k>lastCommonRank ; --k)
{
out.push_back(fromRootToFirst[k]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment