Skip to content

Commit 29b4631

Browse files
committed
Interpolate DynamicPPL.check_dot_tilde_rhs into macro
1 parent fb5413f commit 29b4631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ Generate the expression that replaces `left .~ right` in the model body.
519519
function generate_dot_tilde(left, right)
520520
@gensym dist left_axes idx
521521
return quote
522-
$dist = DynamicPPL.check_dot_tilde_rhs($right)
522+
$dist = $(DynamicPPL.check_dot_tilde_rhs)($right)
523523
$left_axes = axes($left)
524524
for $idx in Iterators.product($left_axes...)
525525
$left[$idx...] ~ $dist

0 commit comments

Comments
 (0)