We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0b381 commit d810993Copy full SHA for d810993
src/mcmc/mh.jl
@@ -406,7 +406,7 @@ function AbstractMCMC.step(
406
return Transition(model, new_state.varinfo, nothing), new_state
407
end
408
409
-struct MHContext{R} <: DynamicPPL.AbstractContext
+struct MHContext{R<:AbstractRNG} <: DynamicPPL.AbstractContext
410
rng::R
411
412
DynamicPPL.NodeTrait(::MHContext) = DynamicPPL.IsLeaf()
0 commit comments