mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 20:33:38 +00:00
Fixed compiler warning
This commit is contained in:
parent
44d05e5375
commit
22c9b9a797
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ namespace sat {
|
||||||
literal get_literal2() const { return to_literal(m_val2 >> 1); }
|
literal get_literal2() const { return to_literal(m_val2 >> 1); }
|
||||||
bool is_learned() const { return (m_val2 & 1) == 1; }
|
bool is_learned() const { return (m_val2 & 1) == 1; }
|
||||||
bool operator==(const bin_clause & other) const {
|
bool operator==(const bin_clause & other) const {
|
||||||
return m_val1 == other.m_val1 && m_val2 == other.m_val2 ||
|
return (m_val1 == other.m_val1 && m_val2 == other.m_val2) ||
|
||||||
m_val1 == other.m_val2 && m_val2 == other.m_val1;
|
(m_val1 == other.m_val2 && m_val2 == other.m_val1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue