3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00

Merge pull request #1747 from levnach/master

remove an assert
This commit is contained in:
Lev Nachmanson 2018-07-10 12:08:13 -07:00 committed by GitHub
commit 61cc3d1250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -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));
}

View file

@ -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;
}

View file

@ -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;