Skip to content

Commit 7d9e505

Browse files
committed
Fix vars for array variables with dependent variables
1 parent 9157a8c commit 7d9e505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/odesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function vars!(vars, O)
151151
return push!(vars, O)
152152
end
153153

154-
operation(O) isa Sym && push!(vars, O)
154+
symtype(operation(O)) <: FnType && push!(vars, O)
155155
for arg in arguments(O)
156156
vars!(vars, arg)
157157
end

0 commit comments

Comments
 (0)