We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vars!
1 parent b66195f commit 4927c6dCopy full SHA for 4927c6d
src/utils.jl
@@ -403,6 +403,9 @@ function vars!(vars, eq::Equation; op = Differential)
403
end
404
function vars!(vars, O; op = Differential)
405
if isvariable(O)
406
+ if iscall(O) && operation(O) === getindex && iscalledparameter(first(arguments(O)))
407
+ O = first(arguments(O))
408
+ end
409
if iscalledparameter(O)
410
f = getcalledparameter(O)
411
push!(vars, f)
0 commit comments