mirror of
https://github.com/Z3Prover/z3
synced 2025-05-14 03:04:44 +00:00
bug fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
da5c8c0667
commit
d6327d69d2
4 changed files with 41 additions and 26 deletions
|
@ -182,10 +182,7 @@ namespace sat {
|
|||
|
||||
void elim_eqs::save_elim(literal_vector const & roots, bool_var_vector const & to_elim) {
|
||||
model_converter & mc = m_solver.m_mc;
|
||||
bool_var_vector::const_iterator it = to_elim.begin();
|
||||
bool_var_vector::const_iterator end = to_elim.end();
|
||||
for (; it != end; ++it) {
|
||||
bool_var v = *it;
|
||||
for (bool_var v : to_elim) {
|
||||
literal l(v, false);
|
||||
literal r = roots[v];
|
||||
SASSERT(v != r.var());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue