Skip to content

Commit

Permalink
fix bug in SiStripApproximateClusterCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Aug 11, 2023
1 parent 3a6b63b commit 569aea9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class SiStripApproximateClusterCollection {
: coll_(coll),
detIndex_(detIndex),
clusBegin_(coll_->beginIndices_[detIndex]),
clusEnd_(detIndex == coll_->beginIndices_.size() - 1 ? coll_->beginIndices_.size()
clusEnd_(detIndex == coll_->beginIndices_.size() - 1 ? coll->clusters_.size()
: coll_->beginIndices_[detIndex + 1]) {}

SiStripApproximateClusterCollection const* const coll_;
Expand Down

0 comments on commit 569aea9

Please sign in to comment.