Skip to content

Commit

Permalink
pass kwargs from constructor of abstract model to constructor of conc…
Browse files Browse the repository at this point in the history
…rete model
  • Loading branch information
hhaensel committed May 28, 2024
1 parent ae5be42 commit ad10794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stipple/reactivity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ macro type(modelname, storage)
$output
end
end)
$modelname() = $modelconst()
$modelname(; kwargs...) = $modelconst(; kwargs...)
Stipple.get_concrete_type(::Type{$modelname}) = $modelconst

delete!.(Ref(Stipple.DEPS), filter(x -> x isa Type && x <: $modelname, keys(Stipple.DEPS)))
Expand Down

0 comments on commit ad10794

Please sign in to comment.