Adjust tolerances a little further to reduce failures.

This commit is contained in:
Ryan Curtin
2018-03-28 10:41:16 -04:00
parent 38341470c5
commit 37ba135c49
@@ -41,8 +41,8 @@ BOOST_AUTO_TEST_CASE(NesterovMomentumSGDSpeedUpTestFunction)
arma::mat coordinates = f.GetInitialPoint();
double result = s.Optimize(f, coordinates);
BOOST_REQUIRE_CLOSE(result, -1.0, 0.20);
BOOST_REQUIRE_SMALL(coordinates[0], 2e-3);
BOOST_REQUIRE_CLOSE(result, -1.0, 0.25);
BOOST_REQUIRE_SMALL(coordinates[0], 3e-3);
BOOST_REQUIRE_SMALL(coordinates[1], 1e-6);
BOOST_REQUIRE_SMALL(coordinates[2], 1e-6);
}