Skip to content

Commit 8b6707a

Browse files
committed
undo the to_symbolic churning
1 parent dbeacf1 commit 8b6707a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rule_dsl.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ function Base.show(io::IO, r::Rule)
2929
end
3030

3131
function (r::Rule)(term)
32-
term = to_symbolic(term)
3332
m, rhs, dict = r.matcher, r.rhs, r._init_matches
34-
(to_symbolic m)((term,), dict, (d, n) -> n == 1 ? (@timer "RHS" rhs(d)) : nothing)
33+
m((term,), dict, (d, n) -> n == 1 ? (@timer "RHS" rhs(d)) : nothing)
3534
end
3635

3736
"""

0 commit comments

Comments
 (0)