From cedb1d6e9266de88c156b15cb16fa6cfda4d4593 Mon Sep 17 00:00:00 2001 From: Joseph Tindall <51231103+JoeyT1994@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:01:38 -0500 Subject: [PATCH] Update src/beliefpropagation/beliefpropagation.jl --- src/beliefpropagation/beliefpropagation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beliefpropagation/beliefpropagation.jl b/src/beliefpropagation/beliefpropagation.jl index 79828d25..4e254f16 100644 --- a/src/beliefpropagation/beliefpropagation.jl +++ b/src/beliefpropagation/beliefpropagation.jl @@ -83,7 +83,7 @@ function belief_propagation_iteration( edges::Vector{E}; contract_kwargs=(; alg="density_matrix", output_structure=path_graph_structure, maxdim=1), compute_norm=false, -) where {E<:NamedEdge} +) new_mts = copy(mts) c = 0 for e in edges