Skip to content

Commit f86249a

Browse files
pass on the rng
Co-authored-by: Nick Robinson <npr251@gmail.com>
1 parent 10cca42 commit f86249a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rand_tangent.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ end
3030
rand_tangent(rng::AbstractRNG, ::BigFloat) = round(big(9 * randn(rng)), sigdigits=5, base=2)
3131

3232

33-
rand_tangent(rng::AbstractRNG, x::Array{<:Any, 0}) = _compress_notangent(fill(rand_tangent(x[])))
33+
rand_tangent(rng::AbstractRNG, x::Array{<:Any, 0}) = _compress_notangent(fill(rand_tangent(rng, x[])))
3434
rand_tangent(rng::AbstractRNG, x::Array) = _compress_notangent(rand_tangent.(Ref(rng), x))
3535

3636
# All other AbstractArray's can be handled using the ProjectTo mechanics.

0 commit comments

Comments
 (0)