diff --git a/test/compile_test/instantiate.hpp b/test/compile_test/instantiate.hpp index 410d50d89..26fa53d7b 100644 --- a/test/compile_test/instantiate.hpp +++ b/test/compile_test/instantiate.hpp @@ -369,6 +369,7 @@ void instantiate(RealType) boost::math::jacobi_theta4m1(v1, v2); boost::math::jacobi_theta4m1tau(v1, v2); boost::math::hypot(v1, v2); + boost::math::hypot(v1, v2, v3); boost::math::sinc_pi(v1); boost::math::sinhc_pi(v1); boost::math::asinh(v1); diff --git a/test/compile_test/sf_hypot_incl_test.cpp b/test/compile_test/sf_hypot_incl_test.cpp index c74b7f0fc..46584c8ac 100644 --- a/test/compile_test/sf_hypot_incl_test.cpp +++ b/test/compile_test/sf_hypot_incl_test.cpp @@ -16,8 +16,11 @@ void compile_and_link_test() { check_result(boost::math::hypot(f, f)); + check_result(boost::math::hypot(f, f, f)); check_result(boost::math::hypot(d, d)); + check_result(boost::math::hypot(d, d,d)); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS check_result(boost::math::hypot(l, l)); + check_result(boost::math::hypot(l, l, l)); #endif }