Skip to content

Commit c57a1e4

Browse files
committed
clean up
1 parent b666813 commit c57a1e4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ProbProg.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,6 @@ end
491491
function call(rng::AbstractRNG, f::Function, args::Vararg{Any,Nargs}) where {Nargs}
492492
res = @jit optimize = :probprog call_internal(rng, f, args...)
493493

494-
@assert res isa Tuple && length(res) >= 1 && res[1] isa AbstractRNG "Expected first result to be RNG"
495-
496494
res = map(res[2:end]) do r
497495
r isa AbstractConcreteArray ? Array(r) : r
498496
end

0 commit comments

Comments
 (0)