3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

Small polysat fixes (#5183)

* Add some display functions

* Add new variables to free vars
This commit is contained in:
Jakob Rath 2021-04-14 19:29:58 +02:00 committed by GitHub
parent 3730a0373d
commit 8a260d89cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View file

@ -100,6 +100,7 @@ namespace polysat {
m_vars.push_back(sz2pdd(sz).mk_var(v));
m_size.push_back(sz);
m_trail.push(t_del_var(*this));
m_free_vars.mk_var_eh(v);
return v;
}
@ -115,6 +116,7 @@ namespace polysat {
m_activity.pop_back();
m_vars.pop_back();
m_size.pop_back();
m_free_vars.del_var_eh(v);
}
void solver::add_eq(pdd const& p, unsigned dep) {