Skip to content

Commit 0d854bc

Browse files
committed
HLL++ - Corrected threshold typo for precision 14
1 parent af045cb commit 0d854bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/clearspring/analytics/stream/cardinality/HyperLogLogPlus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ enum Format {
7979
private static final int VERSION = 2;
8080

8181
// threshold and bias data taken from google's bias correction data set: https://docs.google.com/document/d/1gyjfMHy43U9OWBXxfaeG-3MjGzejW1dlpyMwEYAAWEI/view?fullscreen#
82-
static final double[] thresholdData = {10, 20, 40, 80, 220, 400, 900, 1800, 3100, 6500, 15500, 20000, 50000, 120000, 350000};
82+
static final double[] thresholdData = {10, 20, 40, 80, 220, 400, 900, 1800, 3100, 6500, 11500, 20000, 50000, 120000, 350000};
8383

8484
static final double[][] rawEstimateData = {
8585
// precision 4

0 commit comments

Comments
 (0)