Skip to content

Commit b997386

Browse files
committed
another substitute fix
1 parent a630413 commit b997386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function substitute(expr, dict; fold=true)
6161
else
6262
args = map(x->substitute(x, dict), arguments(expr))
6363
end
64-
similarterm(expr, operation(expr), args, metadata=metadata(expr))
64+
similarterm(expr, operation(expr), args, symtype(expr), metadata=metadata(expr))
6565
else
6666
expr
6767
end

0 commit comments

Comments
 (0)