@@ -79,7 +79,7 @@ void Tracker::clustersToTracks(const LogFunc& logger, const LogFunc& error)
7979 double timeTracklets{0 .}, timeCells{0 .}, timeNeighbours{0 .}, timeRoads{0 .};
8080 int nTracklets{0 }, nCells{0 }, nNeighbours{0 }, nTracks{-static_cast <int >(mTimeFrame ->getNumberOfTracks ())};
8181 int nROFsIterations = mTrkParams [iteration].nROFsPerIterations > 0 ? mTimeFrame ->getNrof () / mTrkParams [iteration].nROFsPerIterations + bool (mTimeFrame ->getNrof () % mTrkParams [iteration].nROFsPerIterations ) : 1 ;
82- int iVertex{ std::min (maxNvertices, 0 )} ;
82+ iVertex = std::min (maxNvertices, 0 );
8383 logger (std::format (" ==== ITS {} Tracking iteration {} summary ====" , mTraits ->getName (), iteration));
8484
8585 total += evaluateTask (&Tracker::initialiseTimeFrame, StateNames[mCurState = TFInit], iteration, logger, iteration);
@@ -105,8 +105,7 @@ void Tracker::clustersToTracks(const LogFunc& logger, const LogFunc& error)
105105 nNeighbours += mTimeFrame ->getNumberOfNeighbours ();
106106 timeRoads += evaluateTask (&Tracker::findRoads, StateNames[mCurState = Roading], iteration, evalLog, iteration);
107107 }
108- iVertex++;
109- } while (iVertex < maxNvertices);
108+ } while (++iVertex < maxNvertices);
110109 logger (std::format (" - Tracklet finding: {} tracklets found in {:.2f} ms" , nTracklets, timeTracklets));
111110 logger (std::format (" - Cell finding: {} cells found in {:.2f} ms" , nCells, timeCells));
112111 logger (std::format (" - Neighbours finding: {} neighbours found in {:.2f} ms" , nNeighbours, timeNeighbours));
0 commit comments