Skip to content

Commit 2dcb712

Browse files
committed
Re-add back default_chain_type for compatibility
1 parent 23afb54 commit 2dcb712

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mcmc/abstractmcmc.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ end
317317
# to take LogDensityFunction still work. #
318318
########################################################
319319

320+
DynamicPPL.default_chain_type(sampler::Sampler{<:InferenceAlgorithm}) = MCMCChains.Chains
321+
320322
function AbstractMCMC.sample(
321323
model::AbstractModel, alg::InferenceAlgorithm, N::Integer; kwargs...
322324
)

0 commit comments

Comments
 (0)