Skip to content

Commit

Permalink
added check_tilde_rhs for Sampleable
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Nov 27, 2024
1 parent 933e4ed commit 4fc7b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ end
check_tilde_rhs(x::Distribution) = x
check_tilde_rhs(x::AbstractArray{<:Distribution}) = x
check_tilde_rhs(x::ReturnedModelWrapper) = x
check_tilde_rhs(x::Sampleable) = Sampleable(check_tilde_rhs(x.model))

"""
unwrap_right_vn(right, vn)
Expand Down

0 comments on commit 4fc7b76

Please sign in to comment.