Skip to content

Commit

Permalink
Fix IOOBE in TTest aggregation when using filters
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase committed May 27, 2024
1 parent 3ec4099 commit 11a5b00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public void collect(int doc, long bucket) throws IOException {
processValues(doc, bucket, docAValues, compSumA, compSumOfSqrA, a);
}
if (bitsB == null || bitsB.get(doc)) {
processValues(doc, bucket, docBValues, compSumB, compSumOfSqrB, b);
b.grow(bigArrays(), bucket + 1);
processValues(doc, bucket, docBValues, compSumB, compSumOfSqrB, b);
}
}
};
Expand Down

0 comments on commit 11a5b00

Please sign in to comment.