Skip to content

Commit 5ffedb5

Browse files
authored
fix ERROR: type NameState has no field symbolify
The field was renamed in #406. Seen on SciML/ModelingToolkit.jl#2020
1 parent 7534749 commit 5ffedb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function function_to_expr(::typeof(SymbolicUtils.ifelse), O, st)
133133
end
134134

135135
function function_to_expr(x::BasicSymbolic, O, st)
136-
issym(x) ? get(st.symbolify, O, nothing) : nothing
136+
issym(x) ? get(st.rewrites, O, nothing) : nothing
137137
end
138138

139139
toexpr(O::Expr, st) = O

0 commit comments

Comments
 (0)