Skip to content

Commit 0e2fac1

Browse files
committed
Escape axes and Iterators.product for good measure
1 parent 8fdf764 commit 0e2fac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,8 @@ function generate_dot_tilde(left, right)
520520
@gensym dist left_axes idx
521521
return quote
522522
$dist = $(DynamicPPL.check_dot_tilde_rhs)($right)
523-
$left_axes = axes($left)
524-
for $idx in Iterators.product($left_axes...)
523+
$left_axes = $(axes)($left)
524+
for $idx in $(Iterators.product)($left_axes...)
525525
$left[$idx...] ~ $dist
526526
end
527527
end

0 commit comments

Comments
 (0)