Closed costas-basdekis closed 8 years ago
So that we can compare two Cnfs, and have them being equal, regardless of the order of operations that where applied:
Cnf
The test introduced at bf755df in this PR fails:
>>> (v1 & v2) == (v2 & v1) False
But the conversion to frozenset rectifies that:
frozenset
>>> (v1 & v2) == (v2 & v1) True
Thank you!
So that we can compare two
Cnf
s, and have them being equal, regardless of the order of operations that where applied:The test introduced at bf755df in this PR fails:
But the conversion to
frozenset
rectifies that: