Commit c66e000b authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: remove warning on int/size_t comparison

parent 162675ec
......@@ -3726,7 +3726,7 @@ DynamicModel::cloneDynamic(DynamicModel &dynamic_model) const
vector<pair<string, string> > eq_tags;
for (vector<pair<int, pair<string, string> > >::const_iterator it = equation_tags.begin();
it != equation_tags.end(); ++it)
if (it->first == i)
if (it->first == (int)i)
eq_tags.push_back(it->second);
dynamic_model.addEquation(equations[i]->cloneDynamic(dynamic_model), equations_lineno[i], eq_tags);
}
......
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