We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41600b1 commit c0abc56Copy full SHA for c0abc56
src/systems/systems.jl
@@ -46,12 +46,12 @@ function structural_simplify(
46
not yet supported.
47
""")
48
end
49
+ for pass in additional_passes
50
+ newsys = pass(newsys)
51
+ end
52
if newsys isa ODESystem || has_parent(newsys)
53
@set! newsys.parent = complete(sys; split, flatten = false)
54
- for pass in additional_passes
- newsys = pass(newsys)
- end
55
newsys = complete(newsys; split)
56
if has_defaults(newsys) && (defs = get_defaults(newsys)) !== nothing
57
ks = collect(keys(defs)) # take copy to avoid mutating defs while iterating.
0 commit comments