Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
rwlee committed May 10, 2022
1 parent 7ba960e commit 4d197ea
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cpp/include/cudf/table/experimental/row_operators.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,13 @@ class device_row_comparator {
* @tparam values weak_ordering parameter pack of orderings to interpret as true
*/
template <typename Comparator, weak_ordering... values>
struct weak_ordering_comparator_impl{
__device__ bool operator()(size_type const& lhs, size_type const& rhs){
weak_ordering const result = comparator(lhs, rhs);
return ( (result == values) || ...);
}
Comparator comparator;
struct weak_ordering_comparator_impl {
__device__ bool operator()(size_type const& lhs, size_type const& rhs)
{
weak_ordering const result = comparator(lhs, rhs);
return ((result == values) || ...);
}
Comparator comparator;
};

/**
Expand Down

0 comments on commit 4d197ea

Please sign in to comment.