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 473ab62 commit 593c7c8Copy full SHA for 593c7c8
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