3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

remove redundant disjunction in compilation of at-most-1 constraints, log mutexes

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-12-22 20:54:09 -08:00
parent 189d449cff
commit 1787fa8296
3 changed files with 30 additions and 34 deletions

View file

@ -518,7 +518,7 @@ namespace smt {
++log;
n *= 2;
}
unsigned th = args.size()*log;
unsigned th = args.size()*log*log;
c->m_compilation_threshold = th;
IF_VERBOSE(2, verbose_stream() << "(smt.pb setting compilation threshold to " << th << ")\n";);
TRACE("pb", tout << "compilation threshold: " << th << "\n";);