Skip to content

Commit

Permalink
fixed minor issue when ite terms were optimized away but the index wa…
Browse files Browse the repository at this point in the history
…s not properly updated
  • Loading branch information
william-eiers committed Apr 4, 2023
1 parent 3121281 commit d1f5c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/SyntacticOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void SyntacticOptimizer::visitAnd(And_ptr and_term) {
}

and_term->term_list->insert(and_term->term_list->end(),ite_terms_.begin(),ite_terms_.end());
iter = and_term->term_list->begin() + pos - 1;
iter = and_term->term_list->begin() + pos;
ite_terms_.clear();
}

Expand Down

0 comments on commit d1f5c0b

Please sign in to comment.