Skip to content

Commit

Permalink
Fix bug in Contact6d::setRegularizationTaskWeightVector
Browse files Browse the repository at this point in the history
  • Loading branch information
andreadelprete committed Nov 25, 2020
1 parent d2d6618 commit 71d10d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/contacts/contact-6d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ typedef Eigen::Matrix<double,6,6> Matrix6;
Matrix6 A = Matrix6::Zero();
A.diagonal() = m_weightForceRegTask;
m_forceRegTask.setMatrix(A*m_forceGenMat);
m_forceRegTask.setVector(m_fRef);
m_forceRegTask.setVector(A*m_fRef);
}

void Contact6d:: updateForceGeneratorMatrix()
Expand Down

0 comments on commit 71d10d1

Please sign in to comment.