From 668e2fca2149dc1fc68873d52021552acad893d6 Mon Sep 17 00:00:00 2001 From: William Moses Date: Mon, 16 Dec 2024 09:03:38 -0600 Subject: [PATCH] Fix traced_getfield (#385) --- src/TracedUtils.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TracedUtils.jl b/src/TracedUtils.jl index d4fc11e94..c4a839ab7 100644 --- a/src/TracedUtils.jl +++ b/src/TracedUtils.jl @@ -323,7 +323,7 @@ end function push_val!(ad_inputs, x, path) for p in path - x = traced_getfield(x, p) + x = Reactant.Compiler.traced_getfield(x, p) end x = x.mlir_data return push!(ad_inputs, x) @@ -343,7 +343,7 @@ end function set!(x, path, tostore; emptypath=false) for p in path - x = traced_getfield(x, p) + x = Reactant.Compiler.traced_getfield(x, p) end x.mlir_data = tostore