Skip to content

Commit e982660

Browse files
committed
similarterm update in ACRule
1 parent 56c74fa commit e982660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rule.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function (acr::ACRule)(term)
329329
if !isnothing(result)
330330
# Assumption: inds are unique
331331
length(args) == length(inds) && return result
332-
return similarterm(term, f, [result, (args[i] for i in eachindex(args) if i inds)...])
332+
return similarterm(term, f, [result, (args[i] for i in eachindex(args) if i inds)...], symtype(term))
333333
end
334334
end
335335
end

0 commit comments

Comments
 (0)