[mlpack-git] master: Loosen tolerance a bit so this test randomly fails less often. (998cd7f)
gitdub at mlpack.org
gitdub at mlpack.org
Thu Mar 24 16:26:11 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/5af7dd9deb2432f6220dc681842e8e9499237842...998cd7ff54b347fc9d0aa355950fef50b66f9b7d
>---------------------------------------------------------------
commit 998cd7ff54b347fc9d0aa355950fef50b66f9b7d
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Mar 24 16:25:54 2016 -0400
Loosen tolerance a bit so this test randomly fails less often.
>---------------------------------------------------------------
998cd7ff54b347fc9d0aa355950fef50b66f9b7d
src/mlpack/tests/ada_delta_test.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mlpack/tests/ada_delta_test.cpp b/src/mlpack/tests/ada_delta_test.cpp
index 96ba110..3471821 100644
--- a/src/mlpack/tests/ada_delta_test.cpp
+++ b/src/mlpack/tests/ada_delta_test.cpp
@@ -36,9 +36,9 @@ BOOST_AUTO_TEST_CASE(SimpleAdaDeltaTestFunction)
arma::mat coordinates = f.GetInitialPoint();
optimizer.Optimize(coordinates);
- BOOST_REQUIRE_SMALL(coordinates[0], 1e-3);
- BOOST_REQUIRE_SMALL(coordinates[1], 1e-3);
- BOOST_REQUIRE_SMALL(coordinates[2], 1e-3);
+ BOOST_REQUIRE_SMALL(coordinates[0], 0.003);
+ BOOST_REQUIRE_SMALL(coordinates[1], 0.003);
+ BOOST_REQUIRE_SMALL(coordinates[2], 0.003);
}
/**
More information about the mlpack-git
mailing list