mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +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
|
@ -50,7 +50,8 @@ namespace lp {
|
|||
m_constraints_for_explanation.push_back(ci);
|
||||
|
||||
for (const auto &p : *t) {
|
||||
m_var_register.add_var(p.var().index(), true); // hnf only deals with integral variables for now
|
||||
auto tv = lia.lra.column2tv(p.column());
|
||||
m_var_register.add_var(tv.id(), true); // hnf only deals with integral variables for now
|
||||
mpq t = abs(ceil(p.coeff()));
|
||||
if (t > m_abs_max)
|
||||
m_abs_max = t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue