Skip to content

Commit bc811e3

Browse files
author
Christoph Büscher
committed
[Test] Fix allowed delta for calculated scores in DiscountedCumulativeGainTests
1 parent 24b0f42 commit bc811e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rank-eval/src/test/java/org/elasticsearch/index/rankeval/DiscountedCumulativeGainTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class DiscountedCumulativeGainTests extends ESTestCase {
4545
static final double EXPECTED_DCG = 13.84826362927298;
4646
static final double EXPECTED_IDCG = 14.595390756454922;
4747
static final double EXPECTED_NDCG = EXPECTED_DCG / EXPECTED_IDCG;
48-
private static final double DELTA = 10E-16;
48+
private static final double DELTA = 10E-14;
4949

5050
/**
5151
* Assuming the docs are ranked in the following order:

0 commit comments

Comments
 (0)