Skip to content

Commit e9b27f9

Browse files
fix: fix observed_equations_used_by for Initials
1 parent 5bfb166 commit e9b27f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ Keyword arguments:
10831083
`available_vars` will not be searched for in the observed equations.
10841084
"""
10851085
function observed_equations_used_by(sys::AbstractSystem, exprs;
1086-
involved_vars = vars(exprs; op = Union{Shift, Differential}), obs = observed(sys), available_vars = [])
1086+
involved_vars = vars(exprs; op = Union{Shift, Differential, Initial}), obs = observed(sys), available_vars = [])
10871087
obsvars = getproperty.(obs, :lhs)
10881088
graph = observed_dependency_graph(obs)
10891089
if !(available_vars isa Set)

0 commit comments

Comments
 (0)