mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
use a simpler encoding for term indices
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
1c0e583abc
commit
8af245a410
10 changed files with 117 additions and 143 deletions
|
@ -57,8 +57,7 @@ namespace lp {
|
|||
}
|
||||
|
||||
bool int_cube::tighten_term_for_cube(unsigned i) {
|
||||
unsigned ti = i + lra.terms_start_index();
|
||||
if (!lra.term_is_used_as_row(ti))
|
||||
if (!lra.term_is_used_as_row(i))
|
||||
return true;
|
||||
const lar_term* t = lra.terms()[i];
|
||||
impq delta = get_cube_delta_for_term(*t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue