Skip to content
Snippets Groups Projects
Commit ca88f677 authored by Andrii Verbytskyi's avatar Andrii Verbytskyi Committed by Walter Lampl
Browse files

Update GNN.cxx fix to cppcheck warning.

Update GNN.cxx fix  to cppcheck warning.
parent 1ea35ef6
No related branches found
No related tags found
1 merge request!67849Update GNN.cxx fix to cppcheck warning.
......@@ -245,7 +245,7 @@ namespace FlavorTagDiscriminants {
}
Tracks::const_iterator it = input_tracks.begin();
std::vector<char>::const_iterator ival = values.begin();
for (; it != input_tracks.end() && ival != values.end(); it++, ival++) {
for (; it != input_tracks.end() && ival != values.end(); ++it, ++ival) {
dec.second(**it) = *ival;
}
}
......@@ -257,7 +257,7 @@ namespace FlavorTagDiscriminants {
}
Tracks::const_iterator it = input_tracks.begin();
std::vector<float>::const_iterator ival = values.begin();
for (; it != input_tracks.end() && ival != values.end(); it++, ival++) {
for (; it != input_tracks.end() && ival != values.end(); ++it, ++ival) {
dec.second(**it) = *ival;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment