Skip to content

Commit f0b1913

Browse files
vyuduAayushSabharwal
authored andcommitted
rebase callback
1 parent df6cc6a commit f0b1913

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/systems/model_parsing.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,7 @@ function _model_macro(mod, fullname::Union{Expr, Symbol}, expr, isconnector)
131131
sys = :($type($(flatten_equations)(equations), $iv, variables, parameters;
132132
name, description = $description, systems, gui_metadata = $gui_metadata,
133133
continuous_events = [$(c_evts...)], discrete_events = [$(d_evts...)],
134-
defaults))
135-
sys = :($type($(flatten_equations)(equations), $iv, variables, parameters;
136-
name, description = $description, systems, gui_metadata = $gui_metadata, defaults,
137-
costs = [$(costs...)], constraints = [$(cons...)], consolidate = $consolidate))
134+
defaults, costs = [$(costs...)], constraints = [$(cons...)], consolidate = $consolidate))
138135

139136
if length(ext) == 0
140137
push!(exprs.args, :(var"#___sys___" = $sys))

0 commit comments

Comments
 (0)