Skip to content

Commit 8feddca

Browse files
Always use curly braces
Co-authored-by: Yunsong Wang <[email protected]>
1 parent c203168 commit 8feddca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cuco/detail/utils.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ __device__ constexpr SizeType sanitize_hash(CG const& group, HashType hash) noex
136136
auto const max_size = cuda::std::numeric_limits<SizeType>::max();
137137
auto const cg_rank = static_cast<SizeType>(group.thread_rank());
138138

139-
if (base_hash > (max_size - cg_rank)) return cg_rank - (max_size - base_hash);
139+
if (base_hash > (max_size - cg_rank)) { return cg_rank - (max_size - base_hash); }
140140
return base_hash + cg_rank;
141141
}
142142

0 commit comments

Comments
 (0)