2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-15 01:02:14 +00:00

Fix IBM AIX compiler errors.

[SVN r44431]
This commit is contained in:
John Maddock
2008-04-15 16:32:28 +00:00
parent 6c50f2e966
commit c05ff98898
2 changed files with 12 additions and 0 deletions

View File

@@ -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<value_type>;
#else
pg funcp = expint_wrapper;
#endif
boost::math::tools::test_result<value_type> 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<value_type>;
#else
pg funcp = boost::math::expint;
#endif
boost::math::tools::test_result<value_type> result;
//

View File

@@ -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<value_type>;
#else
pg funcp = boost::math::zeta;
#endif
boost::math::tools::test_result<value_type> result;
//