mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 01:59:13 +00:00
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:
parent
03fa7c1431
commit
7e3ad29257
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user