mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
commit
61cc3d1250
|
@ -320,7 +320,6 @@ void test_small_lu(lp_settings & settings) {
|
|||
|
||||
auto columns_to_replace = l.get_set_of_columns_to_replace_for_add_last_rows(heading);
|
||||
l.add_last_rows_to_B(heading, columns_to_replace);
|
||||
std::cout << "here" << std::endl;
|
||||
lp_assert(l.is_correct(basis));
|
||||
}
|
||||
|
||||
|
|
|
@ -162,8 +162,7 @@ public:
|
|||
vector<mpq> transform_to_local_columns(const vector<impq> & x) const {
|
||||
vector<mpq> ret;
|
||||
for (unsigned j = 0; j < vars().size(); j++) {
|
||||
lp_assert(is_zero(x[m_var_register.local_to_external(j)].y));
|
||||
ret.push_back(x[m_var_register.local_to_external(j)].x);
|
||||
ret.push_back(x[m_var_register.local_to_external(j)].x);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -2233,7 +2233,7 @@ bool lar_solver::get_equality_and_right_side_for_term_on_current_x(unsigned term
|
|||
unsigned j;
|
||||
bool is_int;
|
||||
if (m_var_register.external_is_used(tj, j, is_int) == false)
|
||||
return false; // the term does not have bound because it does not correspond to a column
|
||||
return false; // the term does not have a bound because it does not correspond to a column
|
||||
if (!is_int) // todo - allow for the next version of hnf
|
||||
return false;
|
||||
impq term_val;
|
||||
|
|
Loading…
Reference in a new issue