fixed an error message

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2010-06-01 06:25:36 +00:00
parent 4fdbd67677
commit eb452bcb1d
2 changed files with 2 additions and 2 deletions

View File

@ -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})",

View File

@ -805,7 +805,7 @@ public class LevenbergMarquardtOptimizer extends AbstractLeastSquaresOptimizer {
ak2 = norm2;
}
}
if (ak2 == 0) {
if (ak2 < 1.0e-66) {
rank = k;
return;
}