2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Correct macro name for standalone.

This commit is contained in:
jzmaddock
2025-04-18 21:02:52 +01:00
parent 00870090bd
commit b0200e41d1

View File

@@ -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<T, float>::value || boost::math::is_same<T, double>::value)
BOOST_MATH_IF_CONSTEXPR(boost::math::is_same<T, float>::value || boost::math::is_same<T, double>::value)
{
// straight to the scene of the accident, since the result is larger than max_factorial:
return policies::raise_overflow_error<T>("tgamma_ratio", nullptr, pol);