From cdf92231ea33a983167cffbab78cc05f8cc0677c Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Sat, 14 Dec 2024 17:09:55 -0500 Subject: [PATCH] fix --- src/compiler.jl | 2 +- src/rules/customrules.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler.jl b/src/compiler.jl index a9eb99c73c..c13f8e7cad 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -3802,7 +3802,7 @@ end continue end if EnzymeRules.is_inactive_from_sig(specTypes; world, method_table, caller) && - has_method( + Enzyme.has_method( Tuple{typeof(EnzymeRules.inactive),specTypes.parameters...}, world, method_table, diff --git a/src/rules/customrules.jl b/src/rules/customrules.jl index 6ef669d4e5..622e8f601e 100644 --- a/src/rules/customrules.jl +++ b/src/rules/customrules.jl @@ -984,7 +984,7 @@ function enzyme_custom_common_rev( end @safe_debug "Applying custom reverse rule" TT = rev_TT, functy=functy - rmi = my_methodinstance(functy, rev_TT, world) + rmi = my_methodinstance(Reverse, functy, rev_TT, world) if rmi === nothing rev_TT = Tuple{typeof(world),functy,rev_TT.parameters...}