From 00b157cd33bbf1f2bfd3ebaf952b5d8eedfbfbf8 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 16 Mar 2021 16:15:14 -0400 Subject: [PATCH] Oops, remove doubly-specified default template argument. --- src/mlpack/core/math/log_add_impl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;