Skip to content

Commit ab952fd

Browse files
committed
Fix comment
1 parent 95166d9 commit ab952fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/exponential-histogram/src/test/java/org/elasticsearch/exponentialhistogram/QuantileAccuracyTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void testMinMaxClampedPercentileaccurace() {
8484

8585
// The 0.5 percentile linearly interpolates between the two buckets.
8686
// For the (1, 2] bucket, the point of least relative error will be used (1.33333)
87-
// For the (1, 2] bucket, the max of the histogram should be used instead (2.1)
87+
// For the (2, 4] bucket, the max of the histogram should be used instead (2.1)
8888
double expectedResult = (4.0/3 + 2.1) / 2;
8989
double p50 = ExponentialHistogramQuantile.getQuantile(histogram, 0.5);
9090
assertThat(p50, equalTo(expectedResult));

0 commit comments

Comments
 (0)