Skip to content

Commit af8b017

Browse files
committed
Remove pointless check_dot_tilde_rhs method
1 parent b690cb9 commit af8b017

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/compiler.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,6 @@ function check_dot_tilde_rhs(::AbstractArray{<:Distribution})
213213
return throw(ArgumentError(msg))
214214
end
215215
check_dot_tilde_rhs(x::UnivariateDistribution) = x
216-
function check_dot_tilde_rhs(x::Sampleable{<:Any,AutoPrefix}) where {AutoPrefix}
217-
model = check_dot_tilde_rhs(x.model)
218-
return Sampleable{typeof(model),AutoPrefix}(model)
219-
end
220216

221217
"""
222218
unwrap_right_vn(right, vn)

0 commit comments

Comments
 (0)