Skip to content

Commit 0acaf1c

Browse files
fix #4218
1 parent 1f15033 commit 0acaf1c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/smt/smt_consequences.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ namespace smt {
169169
TRACE("context",
170170
tout << "checking " << mk_pp(k, m) << " "
171171
<< mk_pp(v, m) << " " << get_assignment(lit) << "\n";
172-
//display(tout);
172+
display(tout);
173173
);
174174
switch (get_assignment(lit)) {
175175
case l_true:
@@ -361,12 +361,14 @@ namespace smt {
361361
tout << "vars: " << vars.size() << "\n";
362362
tout << "lits: " << num_units << "\n";);
363363
pop_to_base_lvl();
364-
m_search_lvl = m_scope_lvl;
365364
m_case_split_queue->init_search_eh();
366365
unsigned num_iterations = 0;
367366
unsigned num_fixed_eqs = 0;
368367
unsigned chunk_size = 100;
369-
368+
369+
init_assumptions(assumptions);
370+
num_units = 0;
371+
370372
while (!m_var2val.empty()) {
371373
unsigned num_vars = 0;
372374
for (auto const& kv : m_var2val) {
@@ -392,10 +394,8 @@ namespace smt {
392394
continue;
393395
if (inconsistent()) {
394396
SASSERT(inconsistent());
395-
IF_VERBOSE(1, verbose_stream() << "inconsistent at base level " << get_scope_level() << "\n");
397+
IF_VERBOSE(1, verbose_stream() << "(get-consequences base-inconsistent " << get_scope_level() << ")\n");
396398
return l_undef;
397-
m_conflict = null_b_justification;
398-
m_not_l = null_literal;
399399
}
400400
}
401401
}
@@ -409,7 +409,7 @@ namespace smt {
409409
return is_sat;
410410
}
411411
if (is_sat == l_undef) {
412-
IF_VERBOSE(0, verbose_stream() << "(get-consequences inc-limits)\n";);
412+
IF_VERBOSE(1, verbose_stream() << "(get-consequences inc-limits)\n";);
413413
inc_limits();
414414
continue;
415415
}

0 commit comments

Comments
 (0)