3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 03:57:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-02-11 13:49:47 -08:00
parent 2e648e2f02
commit 25f53c0467
11 changed files with 6 additions and 18 deletions

View file

@ -3588,7 +3588,6 @@ namespace sat {
void solver::unassign_vars(unsigned old_sz, unsigned new_lvl) {
SASSERT(old_sz <= m_trail.size());
SASSERT(m_replay_assign.empty());
unsigned i = m_trail.size();
for (unsigned i = m_trail.size(); i-- > old_sz; ) {
literal l = m_trail[i];
bool_var v = l.var();

View file

@ -264,7 +264,6 @@ namespace q {
}
void ematch::instantiate(binding& b, clause& c) {
quantifier* q = c.q();
if (m_stats.m_num_instantiations > ctx.get_config().m_qi_max_instances)
return;
unsigned max_generation = b.m_max_generation;

View file

@ -513,7 +513,7 @@ namespace q {
bool mbqi::first_offset(unsigned_vector& offsets, app_ref_vector const& vars) {
offsets.reset();
for (app* v : vars)
for (app* _ : vars)
offsets.push_back(0);
for (unsigned i = 0; i < vars.size(); ++i)
if (!next_offset(offsets, vars, i, 0))