Skip to content

Commit

Permalink
Fix a typo in comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed May 10, 2022
1 parent 8603e75 commit cdadcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MCControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ RTC::ReturnCode_t MCControl::onExecute(RTC::UniqueId ec_id)
for(size_t i = 0; i < ref_joint_order.size(); ++i)
{
auto jIdx = controller.robot().jointIndexInMBC(i);
if(jIdx =! -1)
if(jIdx != -1)
{
m_qOut.data[i] = qOut[static_cast<size_t>(jIdx)][0];
}
Expand Down

0 comments on commit cdadcdb

Please sign in to comment.