Skip to content

Commit

Permalink
disable multi-threading for validation code, masks Z3Prover#4196
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner authored and hgvk94 committed May 7, 2020
1 parent 057fed0 commit 2c0a221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/smt/smt_consequences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ namespace smt {
TRACE("context", tout << "inconsistent\n";);
SASSERT(inconsistent());
m_conflict = null_b_justification;
m_not_l = null_literal;
SASSERT(m_search_lvl == get_search_level());
m_not_l = null_literal;
}
}
}
Expand Down Expand Up @@ -619,6 +618,7 @@ namespace smt {
//
void context::validate_consequences(expr_ref_vector const& assumptions, expr_ref_vector const& vars,
expr_ref_vector const& conseq, expr_ref_vector const& unfixed) {
m_fparams.m_threads = 1;
expr_ref tmp(m);
SASSERT(!inconsistent());
for (expr* c : conseq) {
Expand Down

0 comments on commit 2c0a221

Please sign in to comment.