mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
try another sort in tightening
This commit is contained in:
parent
5b0b224a5c
commit
b6701d57f9
|
@ -1348,7 +1348,7 @@ namespace lp {
|
||||||
// Look up j in columns_to_terms map
|
// Look up j in columns_to_terms map
|
||||||
auto it = m_columns_to_terms.find(j);
|
auto it = m_columns_to_terms.find(j);
|
||||||
if (it != m_columns_to_terms.end())
|
if (it != m_columns_to_terms.end())
|
||||||
weight += static_cast<unsigned>(it->second.size());
|
weight = std::max(weight, static_cast<unsigned>(it->second.size()));
|
||||||
}
|
}
|
||||||
return weight;
|
return weight;
|
||||||
}
|
}
|
||||||
|
@ -1603,8 +1603,8 @@ namespace lp {
|
||||||
}
|
}
|
||||||
|
|
||||||
lia_move process_f() {
|
lia_move process_f() {
|
||||||
while (rewrite_eqs()) {
|
while (rewrite_eqs()) {}
|
||||||
}
|
|
||||||
if (m_conflict_index != UINT_MAX) {
|
if (m_conflict_index != UINT_MAX) {
|
||||||
lra.stats().m_dio_rewrite_conflicts++;
|
lra.stats().m_dio_rewrite_conflicts++;
|
||||||
return lia_move::conflict;
|
return lia_move::conflict;
|
||||||
|
|
Loading…
Reference in a new issue