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

fix gc of pb constraints

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-01-19 03:38:00 -08:00
parent 01418a06a3
commit 64ba2a9fc9
6 changed files with 35 additions and 1 deletions

View file

@ -728,6 +728,11 @@ namespace euf {
return false;
return true;
}
void solver::gc_vars(unsigned num_vars) {
for (auto* e : m_solvers)
e->gc_vars(num_vars);
}
double solver::get_reward(literal l, ext_constraint_idx idx, sat::literal_occs_fun& occs) const {
auto* ext = sat::constraint_base::to_extension(idx);