[mlpack] 07/40: Loosen tolerances to increase the probability of successful tests.

Barak A. Pearlmutter barak+git at pearlmutter.net
Mon Feb 15 19:34:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit d79fab7990e7d8bc9df92b1740a6aae1b7c7a1e0
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Jan 1 13:59:11 2016 -0500

    Loosen tolerances to increase the probability of successful tests.
---
 src/mlpack/tests/hmm_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/hmm_test.cpp b/src/mlpack/tests/hmm_test.cpp
index 5208055..b28de7c 100644
--- a/src/mlpack/tests/hmm_test.cpp
+++ b/src/mlpack/tests/hmm_test.cpp
@@ -748,7 +748,7 @@ BOOST_AUTO_TEST_CASE(GaussianHMMGenerateTest)
   for (size_t row = 0; row < 3; row++)
     for (size_t col = 0; col < 3; col++)
       BOOST_REQUIRE_SMALL(hmm.Transition()(row, col) - hmm2.Transition()(row,
-          col), 0.03);
+          col), 0.04);
 
   // Check that each Gaussian is the same.
   for (size_t em = 0; em < 3; em++)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list