Skip to content

Commit 0713d99

Browse files
authored
fix: missing interpolation in compile (EnzymeAD#394)
1 parent 6aacf41 commit 0713d99

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
@@ -624,7 +624,7 @@ function codegen_unflatten!(
624624
if path[2:end] == argpath[2:end]
625625
continue
626626
end
627-
res = :(args[path[2]])
627+
res = :(args[$(path[2])])
628628
path = path[3:end]
629629
end
630630
for p in path

0 commit comments

Comments
 (0)