Unverified Commit 5634b6d7 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 4d756717
Pipeline #20048 passed with stage
in 17 minutes and 55 seconds
......@@ -62,7 +62,7 @@ std::vector<int> LPFJointListFactory::create_ids(
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_ids.push_back((int)model->getJointId(*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