Revert "fix WeightedLongs function: member values not allocated"

This reverts commit e88cf252d9.
This commit is contained in:
ncarvind 2020-09-23 07:42:28 -05:00
parent e88cf252d9
commit d703b75722

View File

@ -39,7 +39,6 @@ public class WeightedLongs implements LongFunction<Long> {
String[] fragments = new String[pairs.length];
List<Double> parsedWeights = new ArrayList<>();
values = new long[pairs.length];
for (int i = 0; i < pairs.length; i++) {
String[] pair = pairs[i].split(":", 2);
if (pair.length == 2) {