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()