3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

remove an assert

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-07-10 12:05:23 -07:00
parent b59fa3ebd7
commit a4a468660d
3 changed files with 2 additions and 4 deletions

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;