Skip to content

Commit 993d1fa

Browse files
comment out repeated istree check
1 parent 0fd9fbe commit 993d1fa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/rewriters.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,9 @@ function (p::Walk{ord, C, F, false})(x) where {ord, C, F}
201201
if ord === :pre
202202
x = p.rw(x)
203203
end
204-
if istree(x)
205-
elseif iscall(x)
206-
x = p.similarterm(x, operation(x), map(PassThrough(p), unsorted_arguments(x)), metadata=metadata(x))
207-
end
204+
# if istree(x)
205+
# x = p.similarterm(x, operation(x), map(PassThrough(p), unsorted_arguments(x)), metadata=metadata(x))
206+
# end
208207
return ord === :post ? p.rw(x) : x
209208
else
210209
return p.rw(x)

0 commit comments

Comments
 (0)