Unverified Commit 4d756717 authored by Sébastien Kleff's avatar Sébastien Kleff Committed by GitHub
Browse files

Update tests/factory/statelpf.cpp



Co-authored-by: default avatarGuilhem Saurel <guilhem.saurel@laas.fr>
parent 446e2bac
Pipeline #20047 passed with stage
in 14 minutes and 59 seconds
......@@ -34,7 +34,7 @@ std::vector<std::string> LPFJointListFactory::create_names(
case LPFJointMaskType::ALL: {
for (std::vector<std::string>::iterator iter = model->names.begin();
iter != model->names.end(); ++iter) {
if ((int)model->getJointId(*iter) < model->njoints &&
if (static_cast<int>(model->getJointId(*iter)) < model->njoints &&
model->nvs[model->getJointId(*iter)] == 1) {
lpf_joint_names.push_back(*iter);
}
......
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