mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 03:25:15 +00:00
fix int overflow
This commit is contained in:
parent
d2aaae001d
commit
85739d8629
@ -1177,7 +1177,7 @@ public class BKDWriter implements Closeable {
|
||||
PointReader reader = slices[dim].writer.getReader(slices[dim].start);) {
|
||||
|
||||
// Partition this source according to how the splitDim split the values:
|
||||
int nextRightCount = 0;
|
||||
long nextRightCount = 0;
|
||||
for (long i=0;i<source.count;i++) {
|
||||
boolean result = reader.next();
|
||||
assert result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user