Skip to content

Commit 795715f

Browse files
fix: do not error when simplifying implicit DiscreteSystems
Co-authored-by: vyudu <[email protected]>
1 parent 5f81ec7 commit 795715f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/systems/systems.jl

-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ function structural_simplify(
4343
end
4444
if newsys isa DiscreteSystem &&
4545
any(eq -> symbolic_type(eq.lhs) == NotSymbolic(), equations(newsys))
46-
error("""
47-
Encountered algebraic equations when simplifying discrete system. Please construct \
48-
an ImplicitDiscreteSystem instead.
49-
""")
5046
end
5147
for pass in additional_passes
5248
newsys = pass(newsys)

0 commit comments

Comments
 (0)