mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 05:30:51 +00:00
fix dep calculations in lp_bound_propagator
This commit is contained in:
parent
77e56b0a69
commit
7353d7fb4d
2 changed files with 52 additions and 12 deletions
|
@ -324,8 +324,7 @@ private:
|
|||
int bound_sign = (is_lower_bound ? 1 : -1);
|
||||
int j_sign = (coeff_before_j_is_pos ? 1 : -1) * bound_sign;
|
||||
|
||||
if (tv::is_term(bound_j))
|
||||
bound_j = lar.map_term_index_to_column_index(bound_j);
|
||||
SASSERT(!tv::is_term(bound_j));
|
||||
u_dependency* ret = nullptr;
|
||||
for (auto const& r : lar.get_row(row_index)) {
|
||||
unsigned j = r.var();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue