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:
@@ -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]],
|
||||
|
||||
Reference in New Issue
Block a user