commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1066178 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/univariate/MultiStartUnivariateRealOptimizerTest.java
Date Tue, 01 Feb 2011 19:53:02 GMT
Author: sebb
Date: Tue Feb  1 19:53:01 2011
New Revision: 1066178

URL: http://svn.apache.org/viewvc?rev=1066178&view=rev
Log:
Tidy up test

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/univariate/MultiStartUnivariateRealOptimizerTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/univariate/MultiStartUnivariateRealOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/univariate/MultiStartUnivariateRealOptimizerTest.java?rev=1066178&r1=1066177&r2=1066178&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/univariate/MultiStartUnivariateRealOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/univariate/MultiStartUnivariateRealOptimizerTest.java
Tue Feb  1 19:53:01 2011
@@ -93,8 +93,7 @@ public class MultiStartUnivariateRealOpt
             new MultiStartUnivariateRealOptimizer<UnivariateRealFunction>(underlying,
5, g);
  
         try {
-            UnivariateRealPointValuePair optimum
-                = optimizer.optimize(300, f, GoalType.MINIMIZE, -0.3, -0.2);
+            optimizer.optimize(300, f, GoalType.MINIMIZE, -0.3, -0.2);
             Assert.fail();
         } catch (MathUserException e) {
             // Expected.



Mime
View raw message