Skip to content

Commit 4ff2c09

Browse files
fix: fix variables in denominator in implicit discrete systems
1 parent 283b34f commit 4ff2c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structural_transformation/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ 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(a; op = Union{Differential, Shift, Pre, Sample, Hold, Initial}))
263263
continue
264264
end
265265
else

0 commit comments

Comments
 (0)