Remove redundant initialisation in DynamicRangeUtil

This commit is contained in:
Stefan Vodita 2024-09-10 20:59:41 +00:00
parent 6634b41f42
commit 955986d836
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ public final class DynamicRangeUtil {
private static final class SegmentOutput {
private final long[] values;
private final long[] weights;
private long segmentTotalWeight = 0;
private int segmentIdx = 0;
private long segmentTotalWeight;
private int segmentIdx;
public SegmentOutput(int hitsLength) {
this.values = new long[hitsLength];