Skip to content

Commit 225dcef

Browse files
committed
Fix overwritten randn method
1 parent 933576f commit 225dcef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/staticrng.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ end
325325
rng.z₁
326326
end
327327
end
328-
@inline function Base.randn(rng::StaticRNG)
328+
@inline function Base.randn(::Type{Float64}, rng::StaticRNG)
329329
u₁, u₂ = rand(rng), rand(rng)
330330
R = lsqrt(-2*llog(u₁))
331331
Θ = 2pi*u₂

0 commit comments

Comments
 (0)