diff --git a/include/boost/math/special_functions/log1p.hpp b/include/boost/math/special_functions/log1p.hpp index 6ce4777f0..d1ca859a5 100644 --- a/include/boost/math/special_functions/log1p.hpp +++ b/include/boost/math/special_functions/log1p.hpp @@ -452,7 +452,7 @@ inline typename tools::promote_args::type } template -inline T log1pmx(T x) +inline typename tools::promote_args::type log1pmx(T x) { return log1pmx(x, policies::policy<>()); }