Skip to content

Commit 4e955cb

Browse files
authored
Refactor inactive_noinl to inactive for istrans
May be an alternate resolution to EnzymeAD/Enzyme.jl#2589 probably merits runnign enzyme tests here to confirm it works?
1 parent 7249158 commit 4e955cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/DynamicPPLEnzymeCoreExt.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ end
1212

1313
# Mark istrans as having 0 derivative. The `nothing` return value is not significant, Enzyme
1414
# only checks whether such a method exists, and never runs it.
15-
@inline EnzymeCore.EnzymeRules.inactive_noinl(::typeof(DynamicPPL.istrans), args...) =
16-
nothing
15+
@inline EnzymeCore.EnzymeRules.inactive(::typeof(DynamicPPL.istrans), args...) = nothing
1716

1817
end

0 commit comments

Comments
 (0)