Unverified Commit 276e41e7 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #1466 from stack-of-tasks/jmirabel-fix-msg-addFrame

[minor] Fix error message in Model::addFrame
parents b134b25f d8c3120c
Pipeline #15135 passed with stage
in 171 minutes and 18 seconds
......@@ -279,7 +279,7 @@ namespace pinocchio
addFrame(const Frame & frame, const bool append_inertia)
{
PINOCCHIO_CHECK_INPUT_ARGUMENT(frame.parent < (JointIndex)njoints,
"The index of the parent frame is not valid.");
"The index of the parent joint is not valid.");
// TODO: fix it
// PINOCCHIO_CHECK_INPUT_ARGUMENT(frame.inertia.isValid(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment