Higher tolerance for Laplacian kernel.

This commit is contained in:
Ryan Curtin
2012-01-23 20:09:35 +00:00
parent 0bd92892d4
commit ad12518def
+2 -2
View File
@@ -271,8 +271,8 @@ BOOST_AUTO_TEST_CASE(laplacian_kernel)
arma::vec b = "0 1 0";
LaplacianKernel lk(1.0);
BOOST_REQUIRE_CLOSE(lk.Evaluate(a, b), 0.2431167, 1e-5);
BOOST_REQUIRE_CLOSE(lk.Evaluate(b, a), 0.2431167, 1e-5);
BOOST_REQUIRE_CLOSE(lk.Evaluate(a, b), 0.243116734, 5e-5);
BOOST_REQUIRE_CLOSE(lk.Evaluate(b, a), 0.243116734, 5e-5);
}
BOOST_AUTO_TEST_SUITE_END();