From 1275d6ea44026628248764f70db299bcb65d2915 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Tue, 20 Feb 2024 18:58:41 +0530 Subject: [PATCH] fixup! fix: fix `vars!` --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 049b4d5e6b..5fa79530aa 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -360,7 +360,7 @@ function vars!(vars, O; op = Differential) if operation(O) === (getindex) arr = first(arguments(O)) istree(arr) && operation(arr) isa op && return push!(vars, O) - isvariable(arr) && return push!(vars, O) + isvariable(arr) && return push!(vars, O) end isvariable(operation(O)) && push!(vars, O)