Skip to content

Commit 1e3d77d

Browse files
committed
Add Random.AbstractRNG type annotation
1 parent e1e7b48 commit 1e3d77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context_implementations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function tilde_observe!!(context, right, left, vi)
195195
return left, acclogp_observe!!(context, vi, logp)
196196
end
197197

198-
function assume(rng, spl::Sampler, dist)
198+
function assume(rng::Random.AbstractRNG, spl::Sampler, dist)
199199
return error("DynamicPPL.assume: unmanaged inference algorithm: $(typeof(spl))")
200200
end
201201

0 commit comments

Comments
 (0)