Skip to content

Commit df49641

Browse files
committed
Modify flyweight factory for BasicSymbolicImpl
[skip ci]
1 parent 65cc88f commit df49641

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
@@ -568,7 +568,7 @@ function BasicSymbolicImpl(s::BasicSymbolicImpl)::BasicSymbolicImpl
568568
end
569569
h = hash2(s)
570570
t = get!(wvd, h, s)
571-
if t === s || isequal_with_metadata(t, s)
571+
if t === s || isequal(t, s)
572572
return t
573573
else
574574
return s

0 commit comments

Comments
 (0)