From 57102fba691620890eda0f12fafc40de0210f90f Mon Sep 17 00:00:00 2001 From: Joseph Tindall <51231103+JoeyT1994@users.noreply.github.com> Date: Mon, 20 Nov 2023 09:07:36 -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 fb79d011..a86efa1f 100644 --- a/src/beliefpropagation/beliefpropagation_schedule.jl +++ b/src/beliefpropagation/beliefpropagation_schedule.jl @@ -35,6 +35,6 @@ end return edges end -@traitfn function edge_sequence(::Algorithm"parallel", g::NamedGraph::(!IsDirected)) +@traitfn function edge_sequence(::Algorithm"parallel", g::::(!IsDirected)) return [[e] for e in vcat(edges(g), reverse.(edges(g)))] end