Skip to content

Commit e85f7b0

Browse files
committed
Fix same number of pairs for strictly upper policy
1 parent 0f28275 commit e85f7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/test/benchmark_EventMixing.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static void BM_EventMixingNaiveCollisionsPairsSameCategories(benchmark::State& s
249249
for (auto& col2 : mixingBuffer) {
250250
colCount++;
251251
}
252-
if (mixingBuffer.size() >= numEventsToMix) {
252+
if (mixingBuffer.size() >= numEventsToMix - 1) {
253253
mixingBuffer.pop_back();
254254
}
255255
}

0 commit comments

Comments
 (0)