Skip to content

Commit

Permalink
Fix whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Oct 30, 2023
1 parent 0461d35 commit 0788865
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Contacts/src/GlobalZMPEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ bool GlobalZMPEvaluator::setInput(const std::vector<Contacts::ContactWrench>& in
return true;
}


bool GlobalZMPEvaluator::isOutputValid() const
{
return m_isOutputValid;
Expand Down Expand Up @@ -138,7 +137,7 @@ bool GlobalZMPEvaluator::advance()
if (numberOfActiveSupports > 1 && m_constantZMPMaxCounter > 0)
{
const double zmpDifference = (globalZMP - m_zmp).norm();

// check if the ZMP is constant
if (zmpDifference < m_constantZMPTolerance)
{
Expand Down Expand Up @@ -176,4 +175,4 @@ bool GlobalZMPEvaluator::advance()
m_zmp = std::move(globalZMP);
m_isOutputValid = true;
return m_isOutputValid;
}
}

0 comments on commit 0788865

Please sign in to comment.