From 17be02a419554cff53d132a6d527136503f19f0e Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 7 Jan 2022 08:30:54 -0800 Subject: [PATCH] Use cuda::std::is_arithmetic in cudf::is_numeric trait. --- cpp/include/cudf/utilities/traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/cudf/utilities/traits.hpp b/cpp/include/cudf/utilities/traits.hpp index d1bd3049ba3..0b3b3a5df76 100644 --- a/cpp/include/cudf/utilities/traits.hpp +++ b/cpp/include/cudf/utilities/traits.hpp @@ -177,7 +177,7 @@ inline bool is_equality_comparable(data_type type) template constexpr inline bool is_numeric() { - return cuda::std::is_integral() or std::is_floating_point::value; + return cuda::std::is_arithmetic(); } struct is_numeric_impl {