Skip to content

Commit

Permalink
Update src/beliefpropagation/beliefpropagation_schedule.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
JoeyT1994 and mtfishman authored Nov 9, 2023
1 parent e7ccf43 commit 2b8513a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beliefpropagation/beliefpropagation_schedule.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function edge_sequence(g::NamedGraph; alg=default_edge_sequence_alg())
end

function edge_sequence(g::AbstractGraph; alg=default_edge_sequence_alg())
return edge_sequence(alg, undirected_graph(underlying_graph(g)))
return edge_sequence(Algorithm(alg), undirected_graph(underlying_graph(g)))
end

function edge_sequence(alg::Algorithm, g::AbstractGraph; kwargs...)
Expand Down

0 comments on commit 2b8513a

Please sign in to comment.