@@ -102,7 +102,8 @@ struct JumpSystem{U <: ArrayPartition} <: AbstractTimeDependentSystem
102102 """
103103 complete:: Bool
104104
105- function JumpSystem {U} (tag, ap:: U , iv, unknowns, ps, var_to_name, observed, name, systems,
105+ function JumpSystem {U} (tag, ap:: U , iv, unknowns, ps, var_to_name, observed, name,
106+ systems,
106107 defaults, connector_type, devents,
107108 metadata = nothing , gui_metadata = nothing ,
108109 complete = false ;
@@ -119,7 +120,9 @@ struct JumpSystem{U <: ArrayPartition} <: AbstractTimeDependentSystem
119120 connector_type, devents, metadata, gui_metadata, complete)
120121 end
121122end
122- JumpSystem (tag, ap, iv, states, ps, var_to_name, args... ; kwargs... ) = JumpSystem {typeof(ap)} (tag, ap, iv, states, ps, var_to_name, args... ; kwargs... )
123+ function JumpSystem (tag, ap, iv, states, ps, var_to_name, args... ; kwargs... )
124+ JumpSystem {typeof(ap)} (tag, ap, iv, states, ps, var_to_name, args... ; kwargs... )
125+ end
123126
124127function JumpSystem (eqs, iv, unknowns, ps;
125128 observed = Equation[],
@@ -498,7 +501,7 @@ function (ratemap::JumpSysMajParamMapper{
498501 U,
499502 V,
500503 W,
501- })(params) where {U <: AbstractArray ,
504+ })(params) where {U <: AbstractArray ,
502505 V <: AbstractArray , W}
503506 updateparams! (ratemap, params)
504507 [convert (W, value (substitute (paramexpr, ratemap. subdict)))
0 commit comments