Skip to content

Commit

Permalink
fix apply
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 11, 2024
1 parent 4807a79 commit 51286bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,7 @@ function make_mlir_fn(
end

# TODO fix it for kwargs
if f === Reactant.apply
call_with_reactant(f, traced_args[1], (traced_args[2:end]...,))
else
call_with_reactant(f, traced_args...)
end
call_with_reactant(f, traced_args...)
end

seen_results = OrderedIdDict()
Expand Down

0 comments on commit 51286bd

Please sign in to comment.