3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-20 07:36:38 +00:00

allow fixed variables is term tightening

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-02-24 13:07:40 -08:00
parent 3271f2fad9
commit 447af0f548

View file

@ -1377,15 +1377,11 @@ namespace lp {
std_vector<unsigned> cleanup;
m_tightened_columns.reset();
for (unsigned j : m_changed_terms) {
if (
j >= lra.column_count() ||
if (j >= lra.column_count() ||
!lra.column_has_term(j) ||
lra.column_is_free(j) ||
is_fixed(j) ||
!lia.column_is_int(j)
||
!term_has_int_inv_vars(j)
) {
!lia.column_is_int(j) ||
!term_has_int_inv_vars(j)) {
cleanup.push_back(j);
continue;
}