Repository: commons-math
Updated Branches:
  refs/heads/master f43069ac6 -> 36553ffab


Typo (unit test).

Thanks to Adrian.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/6ab19608
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/6ab19608
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/6ab19608

Branch: refs/heads/master
Commit: 6ab196087cd682a4cabdd5167e463dbaa3bb5315
Parents: f43069a
Author: Gilles <[email protected]>
Authored: Thu May 3 11:49:05 2018 +0200
Committer: Gilles <[email protected]>
Committed: Thu May 3 11:49:05 2018 +0200

----------------------------------------------------------------------
 .../fitting/leastsquares/LevenbergMarquardtOptimizerTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/6ab19608/src/test/java/org/apache/commons/math4/fitting/leastsquares/LevenbergMarquardtOptimizerTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/math4/fitting/leastsquares/LevenbergMarquardtOptimizerTest.java
 
b/src/test/java/org/apache/commons/math4/fitting/leastsquares/LevenbergMarquardtOptimizerTest.java
index bddf86b..d0ee97f 100644
--- 
a/src/test/java/org/apache/commons/math4/fitting/leastsquares/LevenbergMarquardtOptimizerTest.java
+++ 
b/src/test/java/org/apache/commons/math4/fitting/leastsquares/LevenbergMarquardtOptimizerTest.java
@@ -247,7 +247,7 @@ public class LevenbergMarquardtOptimizerTest
         final double expectedCost = 8.128869755900439;
         final double expectedRms = 1.0582887010256337;
 
-        final double tol = 1e14;
+        final double tol = 1e-14;
         Assert.assertEquals(expectedChi2, chi2, tol);
         Assert.assertEquals(expectedReducedChi2, reducedChi2, tol);
         Assert.assertEquals(expectedCost, cost, tol);

Reply via email to