Commit 84b29425 authored by Pierre Gergondet's avatar Pierre Gergondet
Browse files

Resize target matrix before passing it to getJacobianCenterOfMass

parent 536594c3
......@@ -664,6 +664,7 @@ computeJcom( ml::Matrix& Jcom,int time )
matrixNxP jacobian;
jacobian.resize(3, m_HDR->numberDof());
m_HDR->getJacobianCenterOfMass(*m_HDR->rootJoint(), jacobian);
Supports Markdown
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