Skip to content

Commit 4b0c2d9

Browse files
committed
do not use "size() - 1" in HLTL1TMatchedJetsVBFFilter
1 parent 3a5f97d commit 4b0c2d9

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)