commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1169466 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java
Date Sun, 11 Sep 2011 14:55:51 GMT
Author: sebb
Date: Sun Sep 11 14:55:50 2011
New Revision: 1169466

URL: http://svn.apache.org/viewvc?rev=1169466&view=rev
Log:
Wrong table size

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java?rev=1169466&r1=1169465&r2=1169466&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/FastMath.java Sun
Sep 11 14:55:50 2011
@@ -3160,8 +3160,8 @@ public class FastMath {
 
           static {
               if (FastMath.USE_PRECOMPUTED_TABLES) {
-                  EXP_FRAC_TABLE_A = new double[FastMath.EXP_INT_TABLE_LEN];
-                  EXP_FRAC_TABLE_B = new double[FastMath.EXP_INT_TABLE_LEN];
+                  EXP_FRAC_TABLE_A = new double[FastMath.EXP_FRAC_TABLE_LEN];
+                  EXP_FRAC_TABLE_B = new double[FastMath.EXP_FRAC_TABLE_LEN];
 
                   final double tmp[] = new double[2];
                   final double recip[] = new double[2];



Mime
View raw message