Skip to content

Commit

Permalink
Update ext/JuliaBUGSMCMCChainsExt.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
sunxd3 and github-actions[bot] authored Nov 7, 2024
1 parent 9517682 commit 22ae355
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/JuliaBUGSMCMCChainsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ function JuliaBUGS.gen_chains(
g = model.g

generated_vars = find_generated_vars(g)
generated_vars = [v for v in model.flattened_graph_node_data.sorted_nodes if v in generated_vars] # keep the order
generated_vars = [
v for v in model.flattened_graph_node_data.sorted_nodes if v in generated_vars
] # keep the order

param_vals = []
generated_quantities = []
Expand Down

0 comments on commit 22ae355

Please sign in to comment.