mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
Merge branch 'master' of https://github.com/Z3Prover/z3
This commit is contained in:
commit
d6e2e1f28f
|
@ -3389,6 +3389,9 @@ static void back_remove(sat::literal_vector& lits, sat::literal l) {
|
|||
literal lit = *it;
|
||||
if (value(lit) != l_undef) {
|
||||
++num_fixed;
|
||||
if (value(lit) == l_true && lvl(lit) == 1) {
|
||||
VERIFY(extract_fixed_consequences(lit, assumptions, unfixed_vars, conseq));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
push();
|
||||
|
|
|
@ -271,9 +271,9 @@ static void cnf_backbones(bool use_chunk, char const* file_name) {
|
|||
|
||||
void tst_cnf_backbones(char ** argv, int argc, int& i) {
|
||||
if (i + 1 < argc) {
|
||||
bool use_chunk = (i + 2 < argc && argv[i + 2] == std::string("chunk"));
|
||||
bool use_chunk = (i + 2 < argc && argv[i + 1] == std::string("chunk"));
|
||||
if (use_chunk) ++i;
|
||||
cnf_backbones(use_chunk, argv[i + 1]);
|
||||
++i;
|
||||
if (use_chunk) ++i;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue