Skip to content

Commit 0b71444

Browse files
committed
cleanup
1 parent 1908188 commit 0b71444

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/probprog/Modeling.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ function sample(
8383
) where {Nargs}
8484
res = sample_internal(rng, f, args...; symbol, logpdf)
8585

86-
@assert res isa Tuple && length(res) >= 1 && res[1] isa AbstractRNG "Expected first result to be RNG"
87-
8886
res = res[2:end]
8987

9088
return length(res) == 1 ? res[1] : res

0 commit comments

Comments
 (0)