From b3a3757dc223827c476c0b9824a518c6f46b8da4 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Tue, 21 Nov 2023 09:26:06 +0100 Subject: [PATCH] Qualify SamplingContext --- ext/DynamicPPLEnzymeCoreExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/DynamicPPLEnzymeCoreExt.jl b/ext/DynamicPPLEnzymeCoreExt.jl index 7af184bdf..f83d6e8f7 100644 --- a/ext/DynamicPPLEnzymeCoreExt.jl +++ b/ext/DynamicPPLEnzymeCoreExt.jl @@ -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