Update src/mlpack/tests/bayesian_linear_regression_test.cpp

Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
mercierc
2020-06-23 17:39:44 +02:00
committed by GitHub
co-authored by Ryan Curtin
parent 70e2c20f83
commit b9cd19eeb8
@@ -160,10 +160,10 @@ BOOST_AUTO_TEST_CASE(PredictiveUncertainties)
// Check the solution is equal to the classical ridge.
BOOST_AUTO_TEST_CASE(EqualtoRidge)
{
arma::mat matX;
arma::rowvec y, blrPred, ridgePred;
arma::mat matX;
arma::rowvec y, blrPred, ridgePred;
for (size_t trial = 0; trial < 3; ++trial)
for (size_t trial = 0; trial < 3; ++trial)
{
GenerateProblem(matX, y, 100, 10, 1);