Skip to content

Commit 3ce0492

Browse files
committed
Merge remote-tracking branch 'Blablablanca/hash-consing2' into hash-consing2
2 parents 0434777 + c8b2f66 commit 3ce0492

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/types.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,7 @@ function Term{T}(f, args; kw...) where T
404404
end
405405

406406
function Term(f, args; metadata=NO_METADATA)
407-
s = Term{_promote_symtype(f, args)}(f, args, metadata=metadata)
408-
BasicSymbolic(s)
407+
Term{_promote_symtype(f, args)}(f, args, metadata=metadata)
409408
end
410409

411410
function Add(::Type{T}, coeff, dict; metadata=NO_METADATA, kw...) where T
@@ -508,8 +507,7 @@ function Div{T}(n, d, simplified=false; metadata=nothing) where {T}
508507
end
509508

510509
function Div(n,d, simplified=false; kw...)
511-
s = Div{promote_symtype((/), symtype(n), symtype(d))}(n, d, simplified; kw...)
512-
BasicSymbolic(s)
510+
Div{promote_symtype((/), symtype(n), symtype(d))}(n, d, simplified; kw...)
513511
end
514512

515513
@inline function numerators(x)

0 commit comments

Comments
 (0)