diff --git a/src/mlpack/core/math/log_add_impl.hpp b/src/mlpack/core/math/log_add_impl.hpp index 17f93c0055..6be66b91b9 100644 --- a/src/mlpack/core/math/log_add_impl.hpp +++ b/src/mlpack/core/math/log_add_impl.hpp @@ -74,7 +74,7 @@ typename T::elem_type AccuLog(const T& x) * the log of that. If InPlace is true, then the values of `y` will also be * added to the sum. */ -template +template void LogSumExp(const T& x, arma::Col& y) { arma::Col maxs; @@ -107,7 +107,7 @@ void LogSumExp(const T& x, arma::Col& y) * log of that. If InPlace is true, then the values of `y` will also be added * to the sum. */ -template +template void LogSumExpT(const T& x, arma::Col& y) { arma::Row maxs;