Skip to content

Commit

Permalink
Apply JuliaStats#1885 type change to ExpGammaIPSampler
Browse files Browse the repository at this point in the history
  • Loading branch information
quildtide committed Sep 4, 2024
1 parent 09842e3 commit f50e8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/samplers/expgamma.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end

function rand(rng::AbstractRNG, s::ExpGammaIPSampler)
x = log(rand(rng, s.s))
e = randexp(rng)
e = randexp(rng, typeof(x))
return muladd(s.nia, e, x)
end

Expand Down

0 comments on commit f50e8c8

Please sign in to comment.