From 7b15bcc28ca7545f5e1220525b8a5e9517790505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20N=C3=A4gele?= Date: Fri, 13 Oct 2023 01:21:34 +0200 Subject: [PATCH] Fix bad function (overwritten def) --- src/models/SIM.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/SIM.jl b/src/models/SIM.jl index aa995ba..9c44310 100644 --- a/src/models/SIM.jl +++ b/src/models/SIM.jl @@ -13,8 +13,8 @@ SIM() = @model begin end end -function SIM(; defaults=false) - if defaults +function SIM(bool) + if bool Dict(:θ => 0.2, :α_1 => 0.6, :α_2 => 0.4) else SIM()