Skip to content

Commit 5815473

Browse files
committed
Fix assertion
1 parent 9f5a495 commit 5815473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucene/core/src/java/org/apache/lucene/search/DenseConjunctionBulkScorer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ private void scoreWindowUsingLeapFrog(
305305
int max)
306306
throws IOException {
307307
assert twoPhases.size() > 0;
308-
assert approximations.size() > twoPhases.size();
308+
assert approximations.size() >= twoPhases.size();
309309

310310
if (approximations.size() == 1) {
311311
// scoreWindowUsingLeapFrog is only used if there is at least one two-phase iterator, so our

0 commit comments

Comments
 (0)