Probable typo (tolerance setting in unit test).
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/bf915848 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/bf915848 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/bf915848 Branch: refs/heads/master Commit: bf915848967a6e35839e5565e98c716079980e18 Parents: 0f3648f Author: Gilles <[email protected]> Authored: Wed May 10 15:33:13 2017 +0200 Committer: Gilles <[email protected]> Committed: Wed May 10 15:33:13 2017 +0200 ---------------------------------------------------------------------- .../commons/math4/stat/inference/KolmogorovSmirnovTestTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/bf915848/src/test/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTestTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTestTest.java b/src/test/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTestTest.java index b9fc80c..d663568 100644 --- a/src/test/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTestTest.java +++ b/src/test/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTestTest.java @@ -38,7 +38,7 @@ import org.junit.Test; * @since 3.3 */ public class KolmogorovSmirnovTestTest { - private static final double TOLERANCE = 10e-10; + private static final double TOLERANCE = 1e-10; private static final int MONTE_CARLO_ITERATIONS = 1000000; private static final int LARGE_SAMPLE_PRODUCT = 10000;
