3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

more fixes for mutexes in shell

This commit is contained in:
Nuno Lopes 2019-06-19 16:42:00 +01:00
parent e603bc1ea1
commit 1827f98851
9 changed files with 25 additions and 63 deletions

View file

@ -463,7 +463,6 @@ namespace sat {
unsigned ddfw::select_max_same_sign(unsigned cf_idx) {
clause const& c = get_clause(cf_idx);
unsigned sz = c.size();
unsigned max_weight = 2;
unsigned max_trues = 0;
unsigned cl = UINT_MAX; // clause pointer to same sign, max weight satisfied clause.
@ -566,7 +565,6 @@ namespace sat {
SASSERT(ci.m_weight > 0);
}
for (unsigned i = 0; i < m_clauses.size(); ++i) {
clause_info const& ci = m_clauses[i];
bool found = false;
for (literal lit : get_clause(i)) {
if (is_true(lit)) found = true;