diff --git a/include/boost/math/special_functions/ellint_1.hpp b/include/boost/math/special_functions/ellint_1.hpp index 35e02d35d..76818224e 100644 --- a/include/boost/math/special_functions/ellint_1.hpp +++ b/include/boost/math/special_functions/ellint_1.hpp @@ -777,7 +777,7 @@ BOOST_FORCEINLINE typename tools::promote_args::type ellint_1(T k) // Elliptic integral (Legendre form) of the first kind template -BOOST_FORCEINLINE typename tools::promote_args::type ellint_1(T1 k, T2 phi, const Policy& pol) +BOOST_FORCEINLINE typename tools::promote_args::type ellint_1(T1 k, T2 phi, const Policy& pol) // LCOV_EXCL_LINE gcc misses this but sees the function body, strange! { typedef typename tools::promote_args::type result_type; typedef typename policies::evaluation::type value_type; diff --git a/include/boost/math/special_functions/ellint_2.hpp b/include/boost/math/special_functions/ellint_2.hpp index 89e0d6caa..442f226eb 100644 --- a/include/boost/math/special_functions/ellint_2.hpp +++ b/include/boost/math/special_functions/ellint_2.hpp @@ -737,7 +737,7 @@ BOOST_FORCEINLINE typename tools::promote_args::type ellint_2(T1 k, T2 p } template -BOOST_FORCEINLINE typename tools::promote_args::type ellint_2(T1 k, T2 phi, const Policy& pol) +BOOST_FORCEINLINE typename tools::promote_args::type ellint_2(T1 k, T2 phi, const Policy& pol) // LCOV_EXCL_LINE gcc misses this but sees the function body, strange! { typedef typename tools::promote_args::type result_type; typedef typename policies::evaluation::type value_type; diff --git a/include/boost/math/special_functions/ellint_3.hpp b/include/boost/math/special_functions/ellint_3.hpp index dd371d3d6..33acc545d 100644 --- a/include/boost/math/special_functions/ellint_3.hpp +++ b/include/boost/math/special_functions/ellint_3.hpp @@ -106,7 +106,7 @@ T ellint_pi_imp(T v, T phi, T k, T vc, const Policy& pol) if(fabs(phi) > 1 / tools::epsilon()) { // Invalid for v > 1, this case is caught above since v > 1 implies 1/v < sin^2(phi) - BOOST_ASSERT(v <= 1); + BOOST_MATH_ASSERT(v <= 1); // // Phi is so large that phi%pi is necessarily zero (or garbage), // just return the second part of the duplication formula: