Skip to content
Snippets Groups Projects
Commit 0f9e9ee4 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'averbyts-main-patch-22981' into 'main'

Update GNN.cxx fix  to cppcheck warning.

See merge request !67849
parents 0f12212a ca88f677
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