diff --git a/include/boost/math/special_functions/hypot.hpp b/include/boost/math/special_functions/hypot.hpp index 6623d414b..099a8b4ca 100644 --- a/include/boost/math/special_functions/hypot.hpp +++ b/include/boost/math/special_functions/hypot.hpp @@ -56,7 +56,7 @@ BOOST_MATH_GPU_ENABLED T hypot_imp(T x, T y, const Policy& pol) } // template T hypot(T x, T y) template -BOOST_MATH_GPU_ENABLED T hypot_impl(T x, T y, T z, const Policy& pol) +BOOST_MATH_GPU_ENABLED T hypot_imp(T x, T y, T z, const Policy& pol) { BOOST_MATH_STD_USING @@ -118,7 +118,7 @@ BOOST_MATH_GPU_ENABLED inline typename tools::promote_args::type } template ::is_specialized, bool>> -BOOST_MATH_GPU_ENABLED tools::promote_args_t +BOOST_MATH_GPU_ENABLED inline tools::promote_args_t hypot(T1 x, T2 y, T3 z) { using result_type = tools::promote_args_t; @@ -129,7 +129,7 @@ BOOST_MATH_GPU_ENABLED tools::promote_args_t } template -BOOST_MATH_GPU_ENABLED tools::promote_args_t +BOOST_MATH_GPU_ENABLED inline tools::promote_args_t hypot(T1 x, T2 y, T3 z, const Policy& pol) { using result_type = tools::promote_args_t;