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 f183ec7 commit 247f2af
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 @@ -22,7 +22,7 @@ function message_tensors_skeleton(subgraphs::DataGraph)
end

function message_tensors(
subgraphs::DataGraph; itensor_constructor=x -> ITensor[dense(delta(i)) for i in x]
subgraphs::DataGraph; itensor_constructor=inds_e -> ITensor[dense(delta(i)) for i in inds_e]
)
mts = message_tensors_skeleton(subgraphs)
for e in edges(subgraphs)
Expand Down

0 comments on commit 247f2af

Please sign in to comment.