Closed Ryugoron closed 7 years ago
The function hashCode() in Clause is not matchin the equals function.
hashCode()
Clause
equals
In more detail: equal is defined as mutual inclusion of the literals, whereas hashCode is defined as a fold with XOR.
equal
hashCode
As long as the clause is always in the simplified form, this is no problem, but since a Clause is a MultiSet of Literals they do not match always
Fixed in 79102151b05d2f3b46dd63e1a273ae93bf9edf51
The function
hashCode()
inClause
is not matchin theequals
function.In more detail:
equal
is defined as mutual inclusion of the literals, whereashashCode
is defined as a fold with XOR.As long as the clause is always in the simplified form, this is no problem, but since a Clause is a MultiSet of Literals they do not match always