Skip to content

Commit

Permalink
Redefine chain_sym_map
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Dec 4, 2024
1 parent 7672c84 commit 274b46e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 274b46e

Please sign in to comment.