Skip to content

Commit

Permalink
Fix min/max usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Aug 8, 2024
1 parent d8ba4b9 commit 14bcaf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/math/tools/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,8 @@ template <class T>
BOOST_MATH_GPU_ENABLED constexpr void gpu_safe_swap(T& a, T& b) { T t(a); a = b; b = t; }

#define BOOST_MATH_GPU_SAFE_SWAP(a, b) gpu_safe_swap(a, b)
#define BOOST_MATH_GPU_SAFE_MIN(a, b) ::min(a, b)
#define BOOST_MATH_GPU_SAFE_MAX(a, b) ::max(a, b)
#define BOOST_MATH_GPU_SAFE_MIN(a, b) (::min)(a, b)
#define BOOST_MATH_GPU_SAFE_MAX(a, b) (::max)(a, b)

#define BOOST_MATH_FP_NAN 0
#define BOOST_MATH_FP_INFINITE 1
Expand Down

0 comments on commit 14bcaf6

Please sign in to comment.