3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-22 16:27:37 +00:00

remove a few copies

This commit is contained in:
Nuno Lopes 2026-02-10 09:52:03 +00:00 committed by Nikolaj Bjorner
parent a3e7bbb92f
commit 9152013fbd
8 changed files with 42 additions and 24 deletions

View file

@ -4651,7 +4651,6 @@ namespace sat {
}
add_assumption(lit);
}
m_antecedents.insert(lit.var(), s);
if (unfixed.contains(lit.var())) {
literal_vector cons;
cons.push_back(lit);
@ -4659,8 +4658,9 @@ namespace sat {
cons.push_back(to_literal(idx));
}
unfixed.remove(lit.var());
conseq.push_back(cons);
conseq.push_back(std::move(cons));
}
m_antecedents.insert(lit.var(), std::move(s));
return true;
}