Skip to content

Commit

Permalink
fix printout
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehvogel authored Feb 1, 2025
1 parent 83175cd commit 33be539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standalone/lcio2edm4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int main(int argc, char* argv[]) {
for (int i = 0; i < nEvt; ++i) {
int tenPercent = nEvt / 10;
if ((i + 1) % tenPercent == 0) {
std::cout << "processed amount of events: " << percEvt << "% (event: " << i << ")" << std::endl;
std::cout << "processed amount of events: " << (i + 1) / tenPercent << "% (event: " << i << ")" << std::endl;
}
auto evt = lcreader->readNextEvent();
// Patching the Event to make sure all events contain the same Collections.
Expand Down

0 comments on commit 33be539

Please sign in to comment.