mirror of
https://github.com/Z3Prover/z3
synced 2025-08-29 22:40:08 +00:00
add a clear() method to nla_solver, fix a bug in abs values tables, add assertions, fix newtral lemma generation
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
0ff07aed3f
commit
09f5ae7521
4 changed files with 116 additions and 32 deletions
|
@ -62,6 +62,13 @@ struct rooted_mon_table {
|
|||
// m_vector_of_rooted_monomials[i] is a proper factor of m_vector_of_rooted_monomials[h]
|
||||
std::unordered_map<unsigned, std::unordered_set<unsigned>> m_rooted_factor_to_product;
|
||||
|
||||
void clear() {
|
||||
m_rooted_monomials_map.clear();
|
||||
m_vector_of_rooted_monomials.clear();
|
||||
m_rooted_monomials_containing_var.clear();
|
||||
m_rooted_factor_to_product.clear();
|
||||
}
|
||||
|
||||
const vector<rooted_mon>& vec() const { return m_vector_of_rooted_monomials; }
|
||||
vector<rooted_mon>& vec() { return m_vector_of_rooted_monomials; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue