From 4c508488aa3e15f1401d8a48fa0e5c1e1f053473 Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Fri, 25 Oct 2024 22:29:19 +0800 Subject: [PATCH] Update src/AbstractMCMC.jl Co-authored-by: Tor Erlend Fjelde --- src/AbstractMCMC.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/AbstractMCMC.jl b/src/AbstractMCMC.jl index 83d7c94..b7c35fb 100644 --- a/src/AbstractMCMC.jl +++ b/src/AbstractMCMC.jl @@ -92,9 +92,7 @@ function getparams(model::AbstractModel, state) end """ - setparams!!(model::AbstractModel, state, params) - setparams!!(logdensity, state, params) - setparams!!(state, params) + setparams!!([model::AbstractModel, ]state, params) Set the values of parameters in the sampler's `state` from a `Vector{<:Real}`.