Skip to content

Commit 29a6eb4

Browse files
committed
Modify isequal_with_metadata with new BasicSymbolic structure
1 parent 831f8fc commit 29a6eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ function isequal_with_metadata(a::BasicSymbolic{T}, b::BasicSymbolic{S})::Bool w
350350
E === exprtype(b) || return false
351351

352352
T === S || return false
353-
_isequal(a, b, E; comparator = isequal_with_metadata)::Bool && isequal_with_metadata(metadata(a), metadata(b)) || return false
353+
_isequal(a, b, E; comparator = isequal_with_metadata)::Bool && isequal(a.meta, b.meta) || return false
354354
end
355355

356356
"""

0 commit comments

Comments
 (0)