diff --git a/test/test_expint.cpp b/test/test_expint.cpp index 0ee1d3a11..7cefb7925 100644 --- a/test/test_expint.cpp +++ b/test/test_expint.cpp @@ -131,7 +131,11 @@ void do_test_expint(const T& data, const char* type_name, const char* test_name) std::cout << test_name << " with type " << type_name << std::endl; typedef value_type (*pg)(value_type, value_type); +#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS) + pg funcp = expint_wrapper; +#else pg funcp = expint_wrapper; +#endif boost::math::tools::test_result result; // @@ -172,7 +176,11 @@ void do_test_expint_Ei(const T& data, const char* type_name, const char* test_na std::cout << test_name << " with type " << type_name << std::endl; typedef value_type (*pg)(value_type); +#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS) + pg funcp = boost::math::expint; +#else pg funcp = boost::math::expint; +#endif boost::math::tools::test_result result; // diff --git a/test/test_zeta.cpp b/test/test_zeta.cpp index 196c52232..7a077bfed 100644 --- a/test/test_zeta.cpp +++ b/test/test_zeta.cpp @@ -105,7 +105,11 @@ void do_test_zeta(const T& data, const char* type_name, const char* test_name) std::cout << test_name << " with type " << type_name << std::endl; typedef value_type (*pg)(value_type); +#if defined(BOOST_MATH_NO_DEDUCED_FUNCTION_POINTERS) + pg funcp = boost::math::zeta; +#else pg funcp = boost::math::zeta; +#endif boost::math::tools::test_result result; //