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];