subtype of model
This commit is contained in:
parent
afe5f36c26
commit
787d563ac1
@ -22,7 +22,7 @@ end
|
|||||||
|
|
||||||
function build_type(T, params)
|
function build_type(T, params)
|
||||||
quote
|
quote
|
||||||
type $T
|
type $T <: Model
|
||||||
$(params...)
|
$(params...)
|
||||||
$([symbol("Δ", s) for s in params]...)
|
$([symbol("Δ", s) for s in params]...)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user