From 5734dcad8ca820cdac1c45e70d77ac2bf1ccb27c Mon Sep 17 00:00:00 2001 From: jaimerz Date: Fri, 22 Sep 2023 14:54:49 +0100 Subject: [PATCH] bringback old getparams --- src/mcmc/Inference.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mcmc/Inference.jl b/src/mcmc/Inference.jl index 1b09668ec..0eefcb791 100644 --- a/src/mcmc/Inference.jl +++ b/src/mcmc/Inference.jl @@ -293,6 +293,7 @@ end Return a named tuple of parameters. """ +getparams(t) = t.θ getparams(model, t) = t.θ function getparams(model::DynamicPPL.Model, vi::DynamicPPL.VarInfo) # Want the end-user to receive parameters in constrained space, so we `link`.