diff --git a/src/mlpack/tests/momentum_sgd_test.cpp b/src/mlpack/tests/momentum_sgd_test.cpp index 42fd1d3499..f17aa2aa7f 100644 --- a/src/mlpack/tests/momentum_sgd_test.cpp +++ b/src/mlpack/tests/momentum_sgd_test.cpp @@ -36,7 +36,7 @@ BOOST_AUTO_TEST_CASE(MomentumSGDSpeedUpTestFunction) arma::mat coordinates = f.GetInitialPoint(); double result = s.Optimize(f, coordinates); - BOOST_REQUIRE_CLOSE(result, -1.0, 0.05); + BOOST_REQUIRE_CLOSE(result, -1.0, 0.15); BOOST_REQUIRE_SMALL(coordinates[0], 1e-3); BOOST_REQUIRE_SMALL(coordinates[1], 1e-7); BOOST_REQUIRE_SMALL(coordinates[2], 1e-7);