Added "@Retry".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1103707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2011-05-16 12:01:11 +00:00
parent 03fa7c1431
commit 7e3ad29257
1 changed files with 2 additions and 1 deletions

View File

@ -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);