Skip to content

Commit 98109ae

Browse files
committed
Review comment
1 parent 7eae068 commit 98109ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcudacxx/include/cuda/std/__random/exponential_distribution.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class exponential_distribution
9999
{
100100
static_assert(__cccl_random_is_valid_urng<_URng>, "URng must meet the UniformRandomBitGenerator requirements");
101101
return -::cuda::std::log(
102-
result_type(1) - ::cuda::std::generate_canonical<result_type, numeric_limits<result_type>::digits>(__g))
102+
result_type{1} - ::cuda::std::generate_canonical<result_type, numeric_limits<result_type>::digits>(__g))
103103
/ __p.lambda();
104104
}
105105

0 commit comments

Comments
 (0)