We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eae068 commit 98109aeCopy full SHA for 98109ae
libcudacxx/include/cuda/std/__random/exponential_distribution.h
@@ -99,7 +99,7 @@ class exponential_distribution
99
{
100
static_assert(__cccl_random_is_valid_urng<_URng>, "URng must meet the UniformRandomBitGenerator requirements");
101
return -::cuda::std::log(
102
- result_type(1) - ::cuda::std::generate_canonical<result_type, numeric_limits<result_type>::digits>(__g))
+ result_type{1} - ::cuda::std::generate_canonical<result_type, numeric_limits<result_type>::digits>(__g))
103
/ __p.lambda();
104
}
105
0 commit comments