From b0200e41d154aacf0f0ea352b52abe7725a052b2 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 18 Apr 2025 21:02:52 +0100 Subject: [PATCH] Correct macro name for standalone. --- include/boost/math/special_functions/gamma.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/special_functions/gamma.hpp b/include/boost/math/special_functions/gamma.hpp index 320a4141b..46045b8cc 100644 --- a/include/boost/math/special_functions/gamma.hpp +++ b/include/boost/math/special_functions/gamma.hpp @@ -2102,7 +2102,7 @@ BOOST_MATH_GPU_ENABLED T tgamma_ratio_imp(T x, T y, const Policy& pol) // // Result will almost certainly overflow, try logs just in case: // - BOOST_IF_CONSTEXPR(boost::math::is_same::value || boost::math::is_same::value) + BOOST_MATH_IF_CONSTEXPR(boost::math::is_same::value || boost::math::is_same::value) { // straight to the scene of the accident, since the result is larger than max_factorial: return policies::raise_overflow_error("tgamma_ratio", nullptr, pol);