Skip to content

Commit

Permalink
test/centroidal-derivatives: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Apr 30, 2019
1 parent 128ffb4 commit b755b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittest/centroidal-derivatives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ BOOST_AUTO_TEST_CASE(test_centroidal_derivatives)
{
pinocchio::Model model;
pinocchio::buildModels::humanoidRandom(model);
const std::string parent_name = model.names[model.njoints-1];
const std::string parent_name = model.names.back();
const std::string joint_name = "ee_spherical_joint";
addJointAndBody(model, pinocchio::JointModelSpherical(), parent_name , joint_name);

Expand Down

0 comments on commit b755b9c

Please sign in to comment.