Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Jun 1, 2024
1 parent d319ef4 commit 1dfdff1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Reactant.jl
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,13 @@ function generate_jlfunc(
create_result(v, sym, (path..., k))
push!(elems, sym)
end
push!(concrete_result_maker, quote
push!(
concrete_result_maker,
quote
$resname = NamedTuple{$(keys(tocopy))}($elems)
end)
return
end,
)
return nothing
end
if T <: Array
elems = Symbol[]
Expand Down

0 comments on commit 1dfdff1

Please sign in to comment.