diff --git a/HLTrigger/JetMET/plugins/HLTL1TMatchedJetsVBFFilter.h b/HLTrigger/JetMET/plugins/HLTL1TMatchedJetsVBFFilter.h index 588d88682b541..7d2ba98c2f5c8 100644 --- a/HLTrigger/JetMET/plugins/HLTL1TMatchedJetsVBFFilter.h +++ b/HLTrigger/JetMET/plugins/HLTL1TMatchedJetsVBFFilter.h @@ -171,7 +171,7 @@ void HLTL1TMatchedJetsVBFFilter::fillJetIndices(std::vector& 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++) {