You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2011/10/07 09:30:18 UTC
svn commit: r1179949 - in /commons/proper/math/trunk/src:
main/java/org/apache/commons/math/linear/
test/java/org/apache/commons/math/linear/
Author: luc
Date: Fri Oct 7 07:30:17 2011
New Revision: 1179949
URL: http://svn.apache.org/viewvc?rev=1179949&view=rev
Log:
Fixed compilation errors due to recent exception changes.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/PivotingQRDecomposition.java
commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRDecompositionTest.java
commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRSolverTest.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/PivotingQRDecomposition.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/PivotingQRDecomposition.java?rev=1179949&r1=1179948&r2=1179949&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/PivotingQRDecomposition.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/PivotingQRDecomposition.java Fri Oct 7 07:30:17 2011
@@ -17,7 +17,7 @@ package org.apache.commons.math.linear;
import java.util.Arrays;
import org.apache.commons.math.util.MathUtils;
-import org.apache.commons.math.ConvergenceException;
+import org.apache.commons.math.exception.ConvergenceException;
import org.apache.commons.math.exception.DimensionMismatchException;
import org.apache.commons.math.exception.util.LocalizedFormats;
import org.apache.commons.math.util.FastMath;
@@ -173,7 +173,6 @@ public class PivotingQRDecomposition {
if (cachedQT == null) {
// QT is supposed to be m x m
- final int n = qr[0].length;
final int m = qr.length;
cachedQT = MatrixUtils.createRealMatrix(m, m);
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRDecompositionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRDecompositionTest.java?rev=1179949&r1=1179948&r2=1179949&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRDecompositionTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRDecompositionTest.java Fri Oct 7 07:30:17 2011
@@ -20,7 +20,7 @@ package org.apache.commons.math.linear;
import java.util.Random;
-import org.apache.commons.math.ConvergenceException;
+import org.apache.commons.math.exception.ConvergenceException;
import org.junit.Assert;
import org.junit.Test;
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRSolverTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRSolverTest.java?rev=1179949&r1=1179948&r2=1179949&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRSolverTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/PivotingQRSolverTest.java Fri Oct 7 07:30:17 2011
@@ -19,7 +19,7 @@ package org.apache.commons.math.linear;
import java.util.Random;
-import org.apache.commons.math.ConvergenceException;
+import org.apache.commons.math.exception.ConvergenceException;
import org.apache.commons.math.exception.MathIllegalArgumentException;
import org.junit.Test;