Skip to content

Commit 0418e68

Browse files
author
earlaud
committed
Minor change
1 parent 962a2ad commit 0418e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inverse-dynamics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void KinodynamicsID::setTarget(
141141
// Foot contacts
142142
for (std::size_t i = 0; i < model_handler_.getFeetNames().size(); i++)
143143
{
144-
const std::string name = model_handler_.getFeetNames()[i];
144+
const std::string & name{model_handler_.getFootName(i)};
145145
if (contact_state_target[i])
146146
{
147147
if (!active_tsid_contacts_[i])

0 commit comments

Comments
 (0)