Skip to content

Commit ea2c6cb

Browse files
Fix some compilation warnings.
1 parent 517db88 commit ea2c6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph/helper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ GraphPtr_t graphBuilder(const ProblemSolverPtr_t& ps,
988988
assert(robot.robotFrames(od.name).size() != 0);
989989
for (const FrameIndex& f : robot.robotFrames(od.name)) {
990990
if (model.frames[f].type != ::pinocchio::JOINT) continue;
991-
const JointIndex j = model.frames[f].parent;
991+
const JointIndex j = model.frames[f].parentJoint;
992992
JointPtr_t oj(Joint::create(ps->robot(), j));
993993
LiegroupSpacePtr_t space(oj->configurationSpace());
994994
LiegroupElement lge(robot.currentConfiguration().segment(

0 commit comments

Comments
 (0)