Skip to content

Commit

Permalink
fix stub indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsavard committed Jun 27, 2024
1 parent 358b060 commit b31b511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions L1Trigger/TrackFindingTracklet/plugins/ProducerKFout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ namespace trklet {
bool counter = false;

vector<StubKF> stubs;
stubs.reserve(setup_->numLayers() - 1);
for (int iStub = 0; iStub < setup_->numLayers() - 1; iStub++) {
stubs.reserve(setup_->numLayers());
for (int iStub = 0; iStub < setup_->numLayers(); iStub++) {
const auto& stub = streamsStubs[setup_->numLayers() * iLink + iStub].at(iTrack);
StubKF inStub(stub, dataFormats_, iStub);
if (stub.first.isNonnull())
Expand Down

0 comments on commit b31b511

Please sign in to comment.