mirror of
https://github.com/Z3Prover/z3
synced 2025-10-15 20:10:26 +00:00
address compiler warnings, and user question #6544
This commit is contained in:
parent
523a3f34b0
commit
d11e5c8ca6
16 changed files with 11 additions and 57 deletions
|
@ -4284,7 +4284,7 @@ namespace sat {
|
|||
|
||||
lbool solver::get_bounded_consequences(literal_vector const& asms, bool_var_vector const& vars, vector<literal_vector>& conseq) {
|
||||
bool_var_set unfixed_vars;
|
||||
unsigned num_units = 0, num_iterations = 0;
|
||||
unsigned num_units = 0;
|
||||
for (bool_var v : vars) {
|
||||
unfixed_vars.insert(v);
|
||||
}
|
||||
|
@ -4316,7 +4316,6 @@ namespace sat {
|
|||
}
|
||||
|
||||
while (true) {
|
||||
++num_iterations;
|
||||
SASSERT(!inconsistent());
|
||||
|
||||
lbool r = bounded_search();
|
||||
|
@ -4379,7 +4378,6 @@ namespace sat {
|
|||
checkpoint();
|
||||
unsigned num_resolves = 0;
|
||||
unsigned num_fixed = 0;
|
||||
unsigned num_assigned = 0;
|
||||
lbool is_sat = l_true;
|
||||
for (literal lit : unfixed_lits) {
|
||||
if (value(lit) != l_undef) {
|
||||
|
@ -4390,7 +4388,6 @@ namespace sat {
|
|||
continue;
|
||||
}
|
||||
push();
|
||||
++num_assigned;
|
||||
assign_scoped(~lit);
|
||||
propagate(false);
|
||||
while (inconsistent()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue