Skip to content

Commit

Permalink
Update src/beliefpropagation/beliefpropagation.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 authored Nov 9, 2023
1 parent a8da3dc commit a5008ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beliefpropagation/beliefpropagation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function message_tensors(
)
mts = message_tensors_skeleton(subgraphs)
for e in edges(subgraphs)
inds_e = [i for i in commoninds(subgraphs[src(e)], subgraphs[dst(e)])]
inds_e = commoninds(subgraphs[src(e)], subgraphs[dst(e)])
itensors = itensor_constructor(inds_e)
mts[e] = ITensorNetwork(itensors)
mts[reverse(e)] = dag(mts[e])
Expand Down

0 comments on commit a5008ee

Please sign in to comment.