From 2b8513a7f663533fbbfd32c4d28bdb314e0043f1 Mon Sep 17 00:00:00 2001 From: Joseph Tindall <51231103+JoeyT1994@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:28:21 -0500 Subject: [PATCH] Update src/beliefpropagation/beliefpropagation_schedule.jl Co-authored-by: Matt Fishman --- src/beliefpropagation/beliefpropagation_schedule.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beliefpropagation/beliefpropagation_schedule.jl b/src/beliefpropagation/beliefpropagation_schedule.jl index 6c5c29fc..37417f2c 100644 --- a/src/beliefpropagation/beliefpropagation_schedule.jl +++ b/src/beliefpropagation/beliefpropagation_schedule.jl @@ -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...)