Skip to content

Commit

Permalink
Use cuda::std::is_arithmetic in cudf::is_numeric trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jan 7, 2022
1 parent de8c0b8 commit 17be02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/cudf/utilities/traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ inline bool is_equality_comparable(data_type type)
template <typename T>
constexpr inline bool is_numeric()
{
return cuda::std::is_integral<T>() or std::is_floating_point<T>::value;
return cuda::std::is_arithmetic<T>();
}

struct is_numeric_impl {
Expand Down

0 comments on commit 17be02a

Please sign in to comment.