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.
isdelay
1 parent c3a157a commit cd52862Copy full SHA for cd52862
src/systems/codegen_utils.jl
@@ -115,6 +115,9 @@ variable.
115
"""
116
function isdelay(var, iv)
117
iv === nothing && return false
118
+ if iscall(var) && ModelingToolkit.isoperator(var, Differential)
119
+ return isdelay(arguments(var)[1], iv)
120
+ end
121
isvariable(var) || return false
122
isparameter(var) && return false
123
if iscall(var) && !ModelingToolkit.isoperator(var, Symbolics.Operator)
0 commit comments