[mlpack-git] master: Loosen tolerances to increase the probability of successful tests. (805789a)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Fri Jan 1 13:59:27 EST 2016


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/3f79fab92a40bb95a8bbd3eec13e8a3dfbd40d80...805789a9b4dc2829ecbccd0dfdf27bb66df712d0

>---------------------------------------------------------------

commit 805789a9b4dc2829ecbccd0dfdf27bb66df712d0
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.


>---------------------------------------------------------------

805789a9b4dc2829ecbccd0dfdf27bb66df712d0
 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 9ed20f8..e289c9c 100644
--- a/src/mlpack/tests/hmm_test.cpp
+++ b/src/mlpack/tests/hmm_test.cpp
@@ -741,7 +741,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++)



More information about the mlpack-git mailing list