Skip to content

Commit ecc1c40

Browse files
JoeyT1994mtfishman
andauthored
Update src/caches/abstractbeliefpropagationcache.jl
Co-authored-by: Matt Fishman <[email protected]>
1 parent 941380e commit ecc1c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caches/abstractbeliefpropagationcache.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function update(
286286
edge_groups::Vector{<:Vector{<:PartitionEdge}};
287287
kwargs...,
288288
)
289-
new_mts = Dictionary()
289+
new_mts = empty(messages(bpc))
290290
for edges in edge_groups
291291
bpc_t = update(alg, bpc, edges; kwargs...)
292292
for e in edges

0 commit comments

Comments
 (0)