Skip to content

Commit 4ffd3e4

Browse files
Merge pull request #858 from SciML/myb/ss
Minor fixes
2 parents 978d540 + 8974345 commit 4ffd3e4

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/systems/abstractsystem.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ topological sort of the observed equations.
481481
"""
482482
function structural_simplify(sys::AbstractSystem)
483483
sys = tearing(alias_elimination(sys))
484-
s = structure(sys)
485484
fullstates = [get_reduced_states(sys); states(sys)]
486485
@set! sys.observed = topsort_equations(observed(sys), fullstates)
487486
return sys

src/systems/diffeqs/odesystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ function flatten(sys::ODESystem)
222222
observed=observed(sys),
223223
default_u0=default_u0(sys),
224224
default_p=default_p(sys),
225+
name=nameof(sys),
225226
)
226227
end
227228
end

src/systems/nonlinear/nonlinearsystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ function flatten(sys::NonlinearSystem)
300300
observed=observed(sys),
301301
default_u0=default_u0(sys),
302302
default_p=default_p(sys),
303+
name=nameof(sys),
303304
)
304305
end
305306
end

0 commit comments

Comments
 (0)