From b306f54beebd2ba767692aefa761e7a9068fed9b Mon Sep 17 00:00:00 2001 From: Nick Thompson Date: Mon, 12 Nov 2018 11:51:54 -0700 Subject: [PATCH] Silence incredibly verbose -Wsign-compare warning emitted from gcc 8. --- .../special_functions/detail/hypergeometric_1F1_recurrence.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp b/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp index 29280f27f..9f6b021d3 100644 --- a/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp +++ b/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp @@ -127,7 +127,7 @@ integer_part -= (boost::math::lltrunc(ceil(b)) - 1); } - if (-integer_part > policies::get_max_series_iterations()) + if (-integer_part > static_cast(policies::get_max_series_iterations())) return policies::raise_evaluation_error(function, "1F1 arguments sit in a range with a so negative that we have no evaluation method, got a = %1%", std::numeric_limits::quiet_NaN(), pol); T first = detail::hypergeometric_1F1_imp(ak, b, z, pol);