--- mlpack-2.2.5/src/mlpack/methods/logistic_regression/logistic_regression_function.hpp 2017-08-25 17:08:44.000000000 -0700 +++ mlpack-2.2.5/src/mlpack/methods/logistic_regression/logistic_regression_function.hpp.new 2018-03-12 16:19:57.903501783 -0700 @@ -50,7 +50,7 @@ //! Return the matrix of predictors. const MatType& Predictors() const { return predictors; } //! Return the vector of responses. - const arma::vec& Responses() const { return responses; } + const arma::Row& Responses() const { return responses; } /** * Evaluate the logistic regression log-likelihood function with the given