3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-08 12:11:23 +00:00

align parity with signs

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-26 15:49:58 -08:00
parent 833b54a12c
commit 4f3fbd3c11
2 changed files with 12 additions and 7 deletions

View file

@ -49,7 +49,7 @@ namespace sat {
clause_vector m_removed_clauses;
std::function<void (literal_vector const& lits)> m_on_xor;
inline void set_combination(unsigned mask) { m_combination |= (1 << mask); }
void set_combination(unsigned mask);
inline bool get_combination(unsigned mask) const { return (m_combination & (1 << mask)) != 0; }
void extract_xor(clause& c);
void add_xor(bool parity, clause& c);