commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r949935 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math: MessagesResources_fr.java optimization/general/LevenbergMarquardtOptimizer.java
Date Tue, 01 Jun 2010 06:25:37 GMT
Author: luc
Date: Tue Jun  1 06:25:36 2010
New Revision: 949935

URL: http://svn.apache.org/viewvc?rev=949935&view=rev
Log:
fixed an error message

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java?rev=949935&r1=949934&r2=949935&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
Tue Jun  1 06:25:36 2010
@@ -756,7 +756,7 @@ public class MessagesResources_fr
    // org.apache.commons.math.distribution.AbstractIntegerDistribution
    // org.apache.commons.math.distribution.AbstractContinuousDistribution
    { "Sample size must be positive",
-     "Taille de l'\u00e9chantillon doit \u00eatre positif" },
+     "La taille de l'\u00e9chantillon doit \u00eatre positive" },
 
    // org.apache.commons.math.distribution.BinomialDistributionImpl
    { "number of trials must be non-negative ({0})",

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java?rev=949935&r1=949934&r2=949935&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
Tue Jun  1 06:25:36 2010
@@ -805,7 +805,7 @@ public class LevenbergMarquardtOptimizer
                     ak2        = norm2;
                 }
             }
-            if (ak2 == 0) {
+            if (ak2 < 1.0e-66) {
                 rank = k;
                 return;
             }



Mime
View raw message