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.
1 parent 13928b0 commit 02a02c5Copy full SHA for 02a02c5
src/utils.jl
@@ -125,7 +125,7 @@ function states_to_sym(states)
125
Expr(:(=), _states_to_sym(O.lhs), _states_to_sym(O.rhs))
126
elseif O isa Term
127
if isa(O.op, Sym)
128
- any(isequal(O), states) && return O.op.name # dependent variables
+ any(isequal(O), states) && return tosymbol(O) # dependent variables
129
return build_expr(:call, Any[O.op.name; _states_to_sym.(O.args)])
130
else
131
return build_expr(:call, Any[O.op; _states_to_sym.(O.args)])
0 commit comments