commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1388766 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/direct/CMAESOptimizerTest.java
Date Sat, 22 Sep 2012 10:02:53 GMT
Author: erans
Date: Sat Sep 22 10:02:53 2012
New Revision: 1388766

URL: http://svn.apache.org/viewvc?rev=1388766&view=rev
Log:
Typo.

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

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/direct/CMAESOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/direct/CMAESOptimizerTest.java?rev=1388766&r1=1388765&r2=1388766&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/direct/CMAESOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/direct/CMAESOptimizerTest.java
Sat Sep 22 10:02:53 2012
@@ -413,8 +413,8 @@ public class CMAESOptimizerTest {
 
         final double[] start = { 0 };
 
-        // The difference between upper and lower bounds is used to used
-        // normalize the variables: In case of overflow, NaN is produced.
+        // The difference between upper and lower bounds is used to normalize
+        // the variables: In case of overflow, NaN is produced.
         final double max = Double.MAX_VALUE / 2;
         final double tooLarge = FastMath.nextUp(max);
         final double[] lower = { -tooLarge };



Mime
View raw message