mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user