Skip to content

Commit

Permalink
Fix bad function (overwritten def)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Nägele committed Oct 12, 2023
1 parent aca443e commit 7b15bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/SIM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7b15bcc

Please sign in to comment.