3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

model_based_opt: fix enabling complete resolution

a bug prevented an optimization to be enabled
This commit is contained in:
Arie Gurfinkel 2022-08-04 17:49:51 -04:00 committed by Nikolaj Bjorner
parent 80c516bb50
commit aa0719abae

View file

@ -981,7 +981,7 @@ namespace opt {
lub_rows.reset();
glb_rows.reset();
mod_rows.reset();
bool lub_is_unit = false, glb_is_unit = false;
bool lub_is_unit = true, glb_is_unit = true;
unsigned eq_row = UINT_MAX;
// select the lub and glb.
for (unsigned row_id : row_ids) {