Skip to content

Commit

Permalink
Update / operator detail
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Dec 11, 2023
1 parent 32552b7 commit 0a1195d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cuco/utility/fast_int.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ struct fast_int {
}

template <typename Rhs>
friend __host__ __device__ constexpr value_type operator/(fast_int const& lhs, Rhs rhs) noexcept
friend __host__ __device__ constexpr auto operator/(fast_int const& lhs, Rhs rhs) noexcept
{
return lhs.value() / static_cast<value_type>(rhs);
return lhs.value() / rhs;
}

template <typename Lhs>
Expand Down

0 comments on commit 0a1195d

Please sign in to comment.