Author: erans
Date: Mon Sep  5 21:22:46 2011
New Revision: 1165416

URL: http://svn.apache.org/viewvc?rev=1165416&view=rev
Log:
Wrote 1e-11 instead of 10E-12 (which was probably a typo).

Modified:
    
commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java

Modified: 
commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java?rev=1165416&r1=1165415&r2=1165416&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java
 (original)
+++ 
commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/LUDecompositionImpl.java
 Mon Sep  5 21:22:46 2011
@@ -33,8 +33,8 @@ import org.apache.commons.math.util.Fast
  * @since 2.0
  */
 public class LUDecompositionImpl implements LUDecomposition {
-    /** Default bound to determine effective singularity in LU decomposition */
-    private static final double DEFAULT_TOO_SMALL = 10E-12;
+    /** Default bound to determine effective singularity in LU decomposition. 
*/
+    private static final double DEFAULT_TOO_SMALL = 1e-11;
     /** Entries of LU decomposition. */
     private double lu[][];
     /** Pivot permutation associated with LU decomposition */
@@ -52,6 +52,9 @@ public class LUDecompositionImpl impleme
 
     /**
      * Calculates the LU-decomposition of the given matrix.
+     * This constructor uses 1e-11 as default value for the singularity
+     * threshold.
+     *
      * @param matrix Matrix to decompose.
      * @throws NonSquareMatrixException if matrix is not square.
      */


Reply via email to