commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1103707 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/CMAESOptimizerTest.java
Date Mon, 16 May 2011 12:01:12 GMT
Author: erans
Date: Mon May 16 12:01:11 2011
New Revision: 1103707

URL: http://svn.apache.org/viewvc?rev=1103707&view=rev
Log:
Added "@Retry".

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/CMAESOptimizerTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/CMAESOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/CMAESOptimizerTest.java?rev=1103707&r1=1103706&r2=1103707&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/CMAESOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/CMAESOptimizerTest.java
Mon May 16 12:01:11 2011
@@ -110,7 +110,7 @@ public class CMAESOptimizerTest {
     public void testInputSigmaDimensionMismatch() throws MathUserException, MathException
{
         double[] startPoint = point(DIM,0.5);
         double[] insigma = point(DIM+1,-0.5);
-        double[][] boundaries = null;;
+        double[][] boundaries = null;
         RealPointValuePair expected =
             new RealPointValuePair(point(DIM,1.0),0.0);
         doTest(new Rosen(), startPoint, insigma, boundaries,
@@ -119,6 +119,7 @@ public class CMAESOptimizerTest {
     }
     
     @Test
+    @Retry(3)
     public void testRosen() throws MathException {
         double[] startPoint = point(DIM,0.1);
         double[] insigma = point(DIM,0.1);



Mime
View raw message