Update src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp

Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
mercierc
2020-07-23 09:18:27 +02:00
committed by GitHub
co-authored by Ryan Curtin
parent 730a59db03
commit 003dab21c8
@@ -145,7 +145,7 @@ static void mlpackMain()
// seems more likely that these will be stored with one response per line
// (one per row). So we should not transpose upon loading.
arma::rowvec responses = std::move(
CLI::GetParam<arma::rowvec>("responses"));
IO::GetParam<arma::rowvec>("responses"));
if (responses.n_elem != matX.n_cols)
{