Skip to content

Commit

Permalink
Fix rule error message (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Feb 2, 2025
1 parent 6a8bef3 commit 4e966a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/customrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ function enzyme_custom_common_rev(

if rmi === nothing
rev_TT = Tuple{typeof(world),functy,rev_TT.parameters...}
rmi = my_methodinstance(typeof(custom_rule_method_error), rev_TT, world)
rmi = my_methodinstance(Reverse, typeof(custom_rule_method_error), rev_TT, world)
pushfirst!(args, LLVM.ConstantInt(world))
rev_RT = Union{}
applicablefn = false
Expand Down

0 comments on commit 4e966a0

Please sign in to comment.