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 20, 2023
1 parent ef40a7d commit df01c27
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
@@ -1,6 +1,6 @@
default_edge_sequence_alg() = "forest_cover"

@traitfn default_bp_niters(g::NamedGraph::(!IsDirected)) = is_tree(g) ? 1 : nothing
@traitfn default_bp_niters(g::::(!IsDirected)) = is_tree(g) ? 1 : nothing
function default_bp_niters(g::AbstractGraph)
return default_bp_niters(undirected_graph(underlying_graph(g)))
end
Expand Down

0 comments on commit df01c27

Please sign in to comment.