diff --git a/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/PercentilesAggregator.java b/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/PercentilesAggregator.java index cf6d670..e508ea8 100644 --- a/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/PercentilesAggregator.java +++ b/pdb-plotting/src/main/java/org/lucares/pdb/plot/api/PercentilesAggregator.java @@ -55,6 +55,8 @@ public class PercentilesAggregator { } public void collect(final LongLongHashMap map) { + percentiles.put("0.000", 0L); // make sure "0.000" is the first element in the sorted percentiles. Will be + // overwritten with the correct value later map.forEachOrdered(this); percentiles.put("0.000", minValue); percentiles.put("100.000", maxValue);