From e53d6cbfd60d9075d6841f4a7d030430ed9c4e0e Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:28:05 +0000 Subject: [PATCH] Update src/model.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/model.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model.jl b/src/model.jl index 223494007..977ff3b99 100644 --- a/src/model.jl +++ b/src/model.jl @@ -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(