commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1413555 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Beta.java
Date Mon, 26 Nov 2012 11:22:03 GMT
Author: celestin
Date: Mon Nov 26 11:22:02 2012
New Revision: 1413555

URL: http://svn.apache.org/viewvc?rev=1413555&view=rev
Log:
In class Beta, wrote DEFAULT_EPSILON in a less error-prone way (1E-14 instead
of 10e-15).

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Beta.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Beta.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Beta.java?rev=1413555&r1=1413554&r2=1413555&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Beta.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Beta.java Mon
Nov 26 11:22:02 2012
@@ -53,7 +53,7 @@ import org.apache.commons.math3.util.Fas
  */
 public class Beta {
     /** Maximum allowed numerical error. */
-    private static final double DEFAULT_EPSILON = 10e-15;
+    private static final double DEFAULT_EPSILON = 1E-14;
 
     /**
      * <p>



Mime
View raw message