Skip to content

Commit 668e2fc

Browse files
authored
Fix traced_getfield (#385)
1 parent 65e9976 commit 668e2fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TracedUtils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ end
323323

324324
function push_val!(ad_inputs, x, path)
325325
for p in path
326-
x = traced_getfield(x, p)
326+
x = Reactant.Compiler.traced_getfield(x, p)
327327
end
328328
x = x.mlir_data
329329
return push!(ad_inputs, x)
@@ -343,7 +343,7 @@ end
343343

344344
function set!(x, path, tostore; emptypath=false)
345345
for p in path
346-
x = traced_getfield(x, p)
346+
x = Reactant.Compiler.traced_getfield(x, p)
347347
end
348348

349349
x.mlir_data = tostore

0 commit comments

Comments
 (0)