Fix (probable) typo in original code.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/871bb759 Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/871bb759 Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/871bb759 Branch: refs/heads/master Commit: 871bb759cf15d887f11a5a7e7428bfba1cc4cafd Parents: f7e9300 Author: Gilles Sadowski <gil...@harfang.homelinux.org> Authored: Mon May 8 02:33:28 2017 +0200 Committer: Gilles Sadowski <gil...@harfang.homelinux.org> Committed: Mon May 8 02:33:28 2017 +0200 ---------------------------------------------------------------------- .../test/java/org/apache/commons/numbers/gamma/LogGammaTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/871bb759/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/LogGammaTest.java ---------------------------------------------------------------------- diff --git a/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/LogGammaTest.java b/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/LogGammaTest.java index 9568443..e887ddd 100644 --- a/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/LogGammaTest.java +++ b/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/LogGammaTest.java @@ -227,6 +227,6 @@ public class LogGammaTest { private void testLogGamma(double expected, double x) { double actual = FUNCTION.value(x); - Assert.assertEquals(expected, actual, 10e-15); + Assert.assertEquals(expected, actual, 1e-15); } }