Skip to content

Commit

Permalink
revert part
Browse files Browse the repository at this point in the history
  • Loading branch information
iMartyan committed Dec 23, 2024
1 parent cb2f7f6 commit f79c124
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 @@ -64,7 +64,7 @@ class distribution_base<oneapi::math::rng::device::geometric<IntType, Method>> {
std::is_same_v<IntType, std::int64_t>,
double, float>::type;

FpType uni_res = engine.generate(FpType(0.0), FpType(1.0));
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;
if constexpr (EngineType::vec_size == 1) {
Expand Down

0 comments on commit f79c124

Please sign in to comment.