Skip to content

Commit 65cc88f

Browse files
committed
Change Base.isequal for BasicSymbolicImpl
1 parent d7737dd commit 65cc88f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/types.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ function _allarequal(xs, ys; comparator = isequal)::Bool
284284
return true
285285
end
286286

287-
function Base.isequal(a::BasicSymbolic{T}, b::BasicSymbolic{S}) where {T,S}
287+
function Base.isequal(a::BasicSymbolic, b::BasicSymbolic)
288+
isequal(a.expr, b.expr)
289+
end
290+
function Base.isequal(a::BasicSymbolicImpl{T}, b::BasicSymbolicImpl{S}) where {T,S}
288291
a === b && return true
289292

290293
E = exprtype(a)

0 commit comments

Comments
 (0)