mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Fixed compiler warning
This commit is contained in:
parent
890142ef96
commit
d099e26342
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); }
|
||||
bool is_learned() const { return (m_val2 & 1) == 1; }
|
||||
bool operator==(const bin_clause & other) const {
|
||||
return m_val1 == other.m_val1 && m_val2 == other.m_val2 ||
|
||||
m_val1 == other.m_val2 && m_val2 == other.m_val1;
|
||||
return (m_val1 == other.m_val1 && m_val2 == other.m_val2) ||
|
||||
(m_val1 == other.m_val2 && m_val2 == other.m_val1);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue