Skip to content

Commit

Permalink
cformat 3
Browse files Browse the repository at this point in the history
  • Loading branch information
iMartyan committed Dec 13, 2024
1 parent 109a3b2 commit 579a87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/oneapi/math/rng/device/detail/geometric_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class distribution_base<oneapi::math::rng::device::geometric<IntType, Method>> {
using FpType = typename std::conditional<std::is_same_v<IntType, std::uint64_t> ||
std::is_same_v<IntType, std::int64_t>,
double, float>::type;

auto uni_res = engine.generate(FpType(0.0), FpType(1.0));
FpType inv_ln = ln_wrapper(FpType(1.0) - p_);
inv_ln = FpType(1.0) / inv_ln;
Expand Down

0 comments on commit 579a87e

Please sign in to comment.