Skip to content

Commit

Permalink
Update DynamicPPLEnzymeCoreExt.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Sep 11, 2024
1 parent 0046b78 commit 78d09f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/DynamicPPLEnzymeCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ end

@inline EnzymeCore.EnzymeRules.inactive_type(::Type{<:DynamicPPL.SamplingContext}) = true

# Mark istrans as having 0 derivative
@inline EnzymeCore.EnzymeRules.inactive_noinl(::typeof(DynamicPPL.istrans), args...) = nothing

end

0 comments on commit 78d09f5

Please sign in to comment.