Skip to content

Commit 20fe296

Browse files
fix: fix variables in denominator in implicit discrete systems
1 parent 14623bc commit 20fe296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/structural_transformation/utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ function find_eq_solvables!(state::TearingState, ieq, to_rm = Int[], coeffs = no
259259
symbolic_type(v) == ArraySymbolic() &&
260260
Symbolics.shape(v) != Symbolics.Unknown() &&
261261
any(x -> any(isequal(x), fullvars), collect(v)),
262-
vars(a))
262+
vars(
263+
a; op = Union{Differential, Shift, Pre, Sample, Hold, Initial}))
263264
continue
264265
end
265266
else

0 commit comments

Comments
 (0)