Skip to content

Commit 7122236

Browse files
authored
Merge pull request cms-sw#43324 from missirol/devel_debugVBFFilter
Do not use `size() - 1` in `HLTL1TMatchedJetsVBFFilter`
2 parents d721800 + 4b0c2d9 commit 7122236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HLTrigger/JetMET/plugins/HLTL1TMatchedJetsVBFFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void HLTL1TMatchedJetsVBFFilter<T>::fillJetIndices(std::vector<unsigned int>& ou
171171
int i2 = -1;
172172
double m2jj_max = -1;
173173

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

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

0 commit comments

Comments
 (0)