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
This commit is contained in:
Sameer Agarwal
2015-07-09 21:20:40 -07:00
parent 3efa55c60f
commit cbdecc588a
+2 -2
View File
@@ -167,7 +167,7 @@ TEST(Polynomial, QuadraticPolynomialWithTwoNegativeRootsWorks) {
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, QuarticPolynomialWithTwoClustersOfCloseRootsWorks) {
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) {