mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
change the return type of ival.var() to tv
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
119a491b17
commit
f5b62015fc
10 changed files with 57 additions and 56 deletions
|
@ -357,14 +357,14 @@ public:
|
|||
// we use the form -it + 1 = 0
|
||||
m_work_vector.set_value(one_of_type<T>(), bj);
|
||||
for (auto p : row) {
|
||||
m_work_vector.set_value(-p.coeff(), p.var());
|
||||
m_work_vector.set_value(-p.coeff(), p.var().index());
|
||||
// but take care of the basis 1 later
|
||||
}
|
||||
|
||||
// now iterate with pivoting
|
||||
fill_last_row_with_pivoting_loop_block(bj, basis_heading);
|
||||
for (auto p : row) {
|
||||
fill_last_row_with_pivoting_loop_block(p.var(), basis_heading);
|
||||
fill_last_row_with_pivoting_loop_block(p.var().index(), basis_heading);
|
||||
}
|
||||
lp_assert(m_work_vector.is_OK());
|
||||
unsigned last_row = row_count() - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue