Skip to content

Commit

Permalink
Use detail::is_integral_v
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed May 30, 2024
1 parent ba2f492 commit 0089978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/decimal/detail/cmath/riemann_zeta.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ constexpr auto riemann_zeta(T x) noexcept

BOOST_DECIMAL_EXPORT template <typename T, typename IntegralType>
constexpr auto riemann_zeta(IntegralType n) noexcept
BOOST_DECIMAL_REQUIRES_TWO_RETURN(detail::is_decimal_floating_point_v, T, std::is_integral_v, IntegralType, T)
BOOST_DECIMAL_REQUIRES_TWO_RETURN(detail::is_decimal_floating_point_v, T, detail::is_integral_v, IntegralType, T)
{
#if BOOST_DECIMAL_DEC_EVAL_METHOD == 0

Expand Down

0 comments on commit 0089978

Please sign in to comment.