Skip to content

Commit

Permalink
Fix compilation error on JDK 20+ (elastic#98762)
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase authored Aug 23, 2023
1 parent cdde64d commit 0a2fbee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void benchmark() {
case "double" -> {
DoubleVector values = op.getOutput().<DoubleBlock>getBlock(1).asVector();
for (int p = 0; p < values.getPositionCount(); p++) {
sum += values.getDouble(p);
sum += (long) values.getDouble(p);
}
}
case "keyword" -> {
Expand Down

0 comments on commit 0a2fbee

Please sign in to comment.