diff --git a/src/dynamic_graph/entity-py.cc b/src/dynamic_graph/entity-py.cc index f6ae36ca9b4b5f18fb8ef20eec9f95c9964034ed..c25842442940851c7327ac36d4bf8f3000f22328 100644 --- a/src/dynamic_graph/entity-py.cc +++ b/src/dynamic_graph/entity-py.cc @@ -84,10 +84,10 @@ bp::object executeCmd(bp::tuple args, bp::dict) { std::vector<Value> values; values.reserve(command.valueTypes().size()); for (bp::ssize_t i = 1; i < bp::len(args); ++i) - values.push_back(convert::toValue - (args[i], - command.valueTypes() - [static_cast<std::vector<Value>::size_type>(i - 1)])); + values.push_back(convert::toValue( + args[i], + command + .valueTypes()[static_cast<std::vector<Value>::size_type>(i - 1)])); command.setParameterValues(values); return convert::fromValue(command.execute()); }