Skip to content

Commit

Permalink
Merge pull request #43324 from missirol/devel_debugVBFFilter
Browse files Browse the repository at this point in the history
Do not use `size() - 1` in `HLTL1TMatchedJetsVBFFilter`
  • Loading branch information
cmsbuild authored Nov 18, 2023
2 parents d721800 + 4b0c2d9 commit 7122236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HLTrigger/JetMET/plugins/HLTL1TMatchedJetsVBFFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void HLTL1TMatchedJetsVBFFilter<T>::fillJetIndices(std::vector<unsigned int>& ou
int i2 = -1;
double m2jj_max = -1;

for (unsigned int i = 0; i < jetIndices.size() - 1; i++) {
for (unsigned int i = 0; i < jetIndices.size(); i++) {
auto const& jet1 = jets[jetIndices[i]];

for (unsigned int j = i + 1; j < jetIndices.size(); j++) {
Expand Down

0 comments on commit 7122236

Please sign in to comment.