From 6ab196087cd682a4cabdd5167e463dbaa3bb5315 Mon Sep 17 00:00:00 2001 From: Gilles Date: Thu, 3 May 2018 11:49:05 +0200 Subject: [PATCH] Typo (unit test). Thanks to Adrian. --- .../fitting/leastsquares/LevenbergMarquardtOptimizerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bddf86bb6..d0ee97f3e 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);