Skip to content

Commit e5fb7ce

Browse files
committed
Differentiate equivalent coeff with different numeric types
1 parent 680d148 commit e5fb7ce

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
@@ -368,7 +368,7 @@ function hash2(s::BasicSymbolic{T}, salt::UInt)::UInt where {T}
368368
hv ⊻= hash2(k, hash(v))
369369
end
370370
h = hash(hv, salt)
371-
h = hash(hashoffset, hash(s.coeff, h))
371+
h = hash(hashoffset, hash2(s.coeff, h))
372372
elseif E === DIV
373373
h = hash2(s.num, hash2(s.den, salt DIV_SALT))
374374
elseif E === POW

0 commit comments

Comments
 (0)