From 3ffa187429b3cab30ac9f5fe11470808470e0518 Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sat, 24 Jan 2009 18:38:33 +0000 Subject: [PATCH] Eliminated advertised exceptions that are no longer thrown. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737415 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/math/linear/LUDecompositionImpl.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java b/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java index 759b50360..1cf09b183 100644 --- a/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java +++ b/src/java/org/apache/commons/math/linear/LUDecompositionImpl.java @@ -345,19 +345,17 @@ public class LUDecompositionImpl implements LUDecomposition { *

The A matrix is implicit here. It is

* @param b right-hand side of the equation A × X = B * @return a vector X such that A × X = B - * @exception IllegalStateException if {@link #decompose(RealMatrix) decompose} - * has not been called * @exception IllegalArgumentException if matrices dimensions don't match * @exception InvalidMatrixException if decomposed matrix is singular */ public RealVectorImpl solve(RealVectorImpl b) - throws IllegalStateException, IllegalArgumentException, InvalidMatrixException { + throws IllegalArgumentException, InvalidMatrixException { return new RealVectorImpl(solve(b.getDataRef()), false); } /** {@inheritDoc} */ public RealMatrix solve(RealMatrix b) - throws IllegalStateException, IllegalArgumentException, InvalidMatrixException { + throws IllegalArgumentException, InvalidMatrixException { final int m = pivot.length; if (b.getRowDimension() != m) {