Skip to content

Commit 5193119

Browse files
Tor FjeldeTor Fjelde
authored andcommitted
use randn instead of rand for initialisation
1 parent 37a2189 commit 5193119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RobustAdaptiveMetropolis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function AbstractMCMC.step(
189189
Base.promote_type(eltype(sampler.γ), eltype(initial_params))
190190
end
191191
x = if initial_params === nothing
192-
rand(rng, T, d)
192+
randn(rng, T, d)
193193
else
194194
convert(AbstractVector{T}, initial_params)
195195
end

0 commit comments

Comments
 (0)