From 274b46ed46f9e4cfd67de7efba9c45dbc1e66129 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 4 Dec 2024 20:42:14 +0000 Subject: [PATCH] Redefine chain_sym_map --- test/model.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/model.jl b/test/model.jl index 8624f6afb..8336bd7e9 100644 --- a/test/model.jl +++ b/test/model.jl @@ -62,7 +62,10 @@ const GDEMO_DEFAULT = DynamicPPL.TestUtils.demo_assume_observe_literal() logpriors = logprior(model, chain) loglikelihoods = loglikelihood(model, chain) logjoints = logjoint(model, chain) - chain_sym_map = Dict() + chain_sym_map = Dict( + vn => AbstractPPL.getsym(vn) for vn in DynamicPPL.TestUtils.varnames(model) + ) + # compare them with true values for i in 1:N samples_dict = Dict()