From cb29906ef97fb4e42d93f7fa37d2f817267f36d9 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 10 Dec 2014 18:40:22 +0000 Subject: [PATCH] [polygamma] Fix expected error rates when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined. --- test/test_polygamma.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_polygamma.cpp b/test/test_polygamma.cpp index 578167eaf..81cbd8324 100644 --- a/test/test_polygamma.cpp +++ b/test/test_polygamma.cpp @@ -41,6 +41,7 @@ void expected_results() largest_type, // test type(s) ".*negative.*", // test data group ".*", 800, 400); // test function +#ifndef #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS if((std::numeric_limits::digits > std::numeric_limits::digits) && (std::numeric_limits::digits - std::numeric_limits::digits < 20)) { @@ -52,6 +53,7 @@ void expected_results() ".*bug cases.*", // test data group ".*", 100, 30); // test function } +#endif add_expected_result( ".*", // compiler ".*", // stdlib