Skip to content

Commit

Permalink
Update src/model.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 91d0f0c commit e53d6cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ function AbstractPPL.decondition(model::BUGSModel, var_group::Vector{<:VarName})
markov_blanket(base_model.g, new_parameters), new_parameters
)
sorted_blanket_with_vars = filter(
vn -> vn in markov_blanket_with_vars, base_model.flattened_graph_node_data.sorted_nodes
vn -> vn in markov_blanket_with_vars,
base_model.flattened_graph_node_data.sorted_nodes,
)

new_model = BUGSModel(
Expand Down

0 comments on commit e53d6cb

Please sign in to comment.