From 4d035b59a19415ec5fbd8ee5c2f7f53d9b59fa82 Mon Sep 17 00:00:00 2001 From: Sebastien Brisard Date: Mon, 26 Nov 2012 11:22:02 +0000 Subject: [PATCH] In class Beta, wrote DEFAULT_EPSILON in a less error-prone way (1E-14 instead of 10e-15). git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413555 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math3/special/Beta.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math3/special/Beta.java b/src/main/java/org/apache/commons/math3/special/Beta.java index c371b1c40..1a96bcd9d 100644 --- a/src/main/java/org/apache/commons/math3/special/Beta.java +++ b/src/main/java/org/apache/commons/math3/special/Beta.java @@ -53,7 +53,7 @@ import org.apache.commons.math3.util.FastMath; */ public class Beta { /** Maximum allowed numerical error. */ - private static final double DEFAULT_EPSILON = 10e-15; + private static final double DEFAULT_EPSILON = 1E-14; /** *