Loosen tolerance further.

This is better-tested than my last attempt and appears to have a very low failure rate.
This commit is contained in:
Ryan Curtin
2016-02-01 10:23:06 -08:00
parent e7196b502a
commit 5ae0bd99bc
+1 -1
View File
@@ -211,7 +211,7 @@ BOOST_AUTO_TEST_CASE(GMMTrainEMMultipleGaussians)
for (size_t row = 0; row < dims; row++)
for (size_t col = 0; col < dims; col++)
BOOST_REQUIRE_CLOSE(gmm.Component(sortTry[i]).Covariance()(row, col),
(covars[sortRef[i]])(row, col), 0.001);
(covars[sortRef[i]])(row, col), 0.05);
// Check the weight.
BOOST_REQUIRE_CLOSE(gmm.Weights()[sortTry[i]], weights[sortRef[i]],