mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 14:23:40 +00:00
remove an assert
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
b59fa3ebd7
commit
a4a468660d
3 changed files with 2 additions and 4 deletions
|
@ -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);
|
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);
|
l.add_last_rows_to_B(heading, columns_to_replace);
|
||||||
std::cout << "here" << std::endl;
|
|
||||||
lp_assert(l.is_correct(basis));
|
lp_assert(l.is_correct(basis));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,8 +162,7 @@ public:
|
||||||
vector<mpq> transform_to_local_columns(const vector<impq> & x) const {
|
vector<mpq> transform_to_local_columns(const vector<impq> & x) const {
|
||||||
vector<mpq> ret;
|
vector<mpq> ret;
|
||||||
for (unsigned j = 0; j < vars().size(); j++) {
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2233,7 +2233,7 @@ bool lar_solver::get_equality_and_right_side_for_term_on_current_x(unsigned term
|
||||||
unsigned j;
|
unsigned j;
|
||||||
bool is_int;
|
bool is_int;
|
||||||
if (m_var_register.external_is_used(tj, j, is_int) == false)
|
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
|
if (!is_int) // todo - allow for the next version of hnf
|
||||||
return false;
|
return false;
|
||||||
impq term_val;
|
impq term_val;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue