Actually fix the rawhide tolerance bug. And undo the last two botched CLs. Thanks to Chris Sweeney and Taylor Braun Jones for saving my bacon. I will do appropriate penance to repend for my sins. Change-Id: I14de958e651f85e4c1741fba2cb46ffe7e873346
diff --git a/internal/ceres/polynomial_test.cc b/internal/ceres/polynomial_test.cc index f2fd19e..d7026ed 100644 --- a/internal/ceres/polynomial_test.cc +++ b/internal/ceres/polynomial_test.cc
@@ -167,7 +167,7 @@ TEST(Polynomial, QuadraticPolynomialWithCloseRootsWorks) { const double roots[2] = { 42.42, 42.43 }; - RunPolynomialTestRealRoots(roots, true, false, 2 * kEpsilonLoose); + RunPolynomialTestRealRoots(roots, true, false, kEpsilonLoose); } TEST(Polynomial, QuadraticPolynomialWithComplexRootsWorks) { @@ -200,7 +200,7 @@ TEST(Polynomial, QuarticPolynomialWithTwoZeroRootsWorks) { const double roots[4] = { -42.42, 0.0, 0.0, 42.42 }; - RunPolynomialTestRealRoots(roots, true, true, kEpsilonLoose); + RunPolynomialTestRealRoots(roots, true, true, 2 * kEpsilonLoose); } TEST(Polynomial, QuarticMonomialWorks) {