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 5a832ec commit 52cace3Copy full SHA for 52cace3
src/systems/abstractsystem.jl
@@ -906,11 +906,12 @@ function will be applied during the tearing process.
906
function structural_simplify(sys::AbstractSystem; simplify=false)
907
sys = expand_connections(sys)
908
sys = alias_elimination(sys)
909
+ state = TearingState(sys)
910
+ check_consistency(state)
911
if sys isa ODESystem
912
sys = dae_index_lowering(ode_order_lowering(sys))
913
end
914
state = TearingState(sys)
- check_consistency(state)
915
find_solvables!(state)
916
sys = tearing_reassemble(state, tearing(state), simplify=simplify)
917
fullstates = [map(eq->eq.lhs, observed(sys)); states(sys)]
0 commit comments