Skip to content

Commit

Permalink
Qualify SamplingContext
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Nov 21, 2023
1 parent 80a18b2 commit b3a3757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/DynamicPPLEnzymeCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ else
using ..EnzymeCore
end

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

end

0 comments on commit b3a3757

Please sign in to comment.