From fe504f524de2d054b49e1a61d9104fe87145f136 Mon Sep 17 00:00:00 2001 From: Moritz Schauer Date: Fri, 12 Jan 2024 11:27:03 +0100 Subject: [PATCH] Start with the right score --- src/sampler.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sampler.jl b/src/sampler.jl index 189062db..41ccb570 100644 --- a/src/sampler.jl +++ b/src/sampler.jl @@ -208,7 +208,7 @@ function causalzigzag(n, G = (DiGraph(n), 0); balance = metropolis_balance, prio τ = 0.0 secs = 0.0 emax = n*κ÷2 - scorevalue = 0.0 + scorevalue = score_dag(SimpleDiGraph(n), score) @showprogress for iter in 1:iterations τ = 0.0 total_old = total