mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
change lar_terms to use column indices
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3313590b95
commit
c2e5cd78c8
13 changed files with 88 additions and 103 deletions
|
@ -109,7 +109,7 @@ public:
|
|||
auto & row = m_data[adjust_row(i)];
|
||||
lp_assert(row_is_initialized_correctly(row));
|
||||
for (const auto & p : c) {
|
||||
unsigned j = adjust_column(column_fix(p.var().index()));
|
||||
unsigned j = adjust_column(column_fix(p.column().index()));
|
||||
row[j] = sign * p.coeff();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue