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 1041449 commit d17e6edCopy full SHA for d17e6ed
src/mcmc/gibbs.jl
@@ -292,6 +292,9 @@ wrap_algorithm_maybe(x) = x
292
function wrap_algorithm_maybe(x::DynamicPPL.Sampler)
293
return DynamicPPL.Sampler(x.alg, DynamicPPL.Selector(0))
294
end
295
+function wrap_algorithm_maybe(x::RepeatSampler)
296
+ return RepeatSampler(wrap_algorithm_maybe(x.sampler), x.num_repeat)
297
+end
298
wrap_algorithm_maybe(x::InferenceAlgorithm) = DynamicPPL.Sampler(x, DynamicPPL.Selector(0))
299
300
"""
0 commit comments