3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 19:05:51 +00:00

remove explanation.reset() and fixes in add_var_bound()

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-11-09 10:04:08 -08:00 committed by Lev Nachmanson
parent 1d51c5689e
commit 2993453798
4 changed files with 15 additions and 8 deletions

View file

@ -34,7 +34,7 @@ public:
m_set_of_ci.insert(j);
m_explanation.push_back(std::make_pair(one_of_type<mpq>(), j));
}
void reset() { m_explanation.reset(); }
template <typename A> void add(const A& a) { for (constraint_index j : a) push_justification(j); }
};
}