Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Aug 9, 2024
1 parent 55f27cd commit 86bc098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rules/jitrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ end
else
mexprs = Vector{Expr}(undef, width)
for w in 1:width
@inbounds mexprs[i] = :(tape.shadow_return[$w][][$i])
@inbounds mexprs[w] = :(tape.shadow_return[$w][][$i])
end
quote
($(mexprs...),)
Expand Down
2 changes: 1 addition & 1 deletion src/rules/typeunstablerules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ end
for i in 1:N
@inbounds expr[i] = quote
begin
dv = dptrs[$i]
dv = ptrs[$i]
getfield(dv isa Base.RefValue ? dv[] : dv, symname)
end
end
Expand Down

0 comments on commit 86bc098

Please sign in to comment.