mirror of
https://github.com/Z3Prover/z3
synced 2025-10-11 10:18:06 +00:00
fix some warnings
This commit is contained in:
parent
abac52e1d7
commit
7bba8bc0c9
2 changed files with 4 additions and 4 deletions
|
@ -1652,8 +1652,8 @@ namespace lp {
|
|||
const auto& row = m_e_matrix.m_rows[ei];
|
||||
auto it = std::find_if (row.begin(), row.end(), [j](const auto& p) {return p.var() == j;} );
|
||||
if (it == row.end()) return false;
|
||||
return it->coeff() == mpq(1)&& j_sign == 1 ||
|
||||
it->coeff() == mpq(-1) && j_sign == -1;
|
||||
return (it->coeff() == mpq(1) && j_sign == 1) ||
|
||||
(it->coeff() == mpq(-1) && j_sign == -1);
|
||||
}
|
||||
// j is the variable to eliminate, it appears in row ei of m_e_matrix with
|
||||
// a coefficient equal to j_sign which is +-1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue