commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1067583 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/direct/PowellOptimizer.java
Date Sun, 06 Feb 2011 04:08:41 GMT
Author: psteitz
Date: Sun Feb  6 04:08:41 2011
New Revision: 1067583

URL: http://svn.apache.org/viewvc?rev=1067583&view=rev
Log:
Fixed throws to reference exception that can be thrown.

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/direct/PowellOptimizer.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/direct/PowellOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/direct/PowellOptimizer.java?rev=1067583&r1=1067582&r2=1067583&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/direct/PowellOptimizer.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/optimization/direct/PowellOptimizer.java
Sun Feb  6 04:08:41 2011
@@ -236,7 +236,7 @@ public class PowellOptimizer
          * @throws OptimizationException if algorithm fails to converge
          */
         public void search(final double[] p, final double[] d)
-            throws FunctionEvaluationException, OptimizationException {
+            throws OptimizationException, MathUserException {
 
             // Reset.
             optimum = Double.NaN;



Mime
View raw message