mirror of
https://github.com/Z3Prover/z3
synced 2025-05-09 00:35:47 +00:00
replace lp_assert(false) with UNREACHABLE
This commit is contained in:
parent
3efe91c3e3
commit
8b0aa22631
23 changed files with 654 additions and 891 deletions
|
@ -174,14 +174,6 @@ std::set<std::pair<unsigned, unsigned>> static_matrix<T, X>::get_domain() {
|
|||
return ret;
|
||||
}
|
||||
|
||||
template <typename T, typename X> void static_matrix<T, X>::copy_column_to_indexed_vector (unsigned j, indexed_vector<T> & v) const {
|
||||
lp_assert(j < m_columns.size());
|
||||
for (auto & it : m_columns[j]) {
|
||||
const T& val = get_val(it);
|
||||
if (!is_zero(val))
|
||||
v.set_value(val, it.var());
|
||||
}
|
||||
}
|
||||
|
||||
template <typename T, typename X> T static_matrix<T, X>::get_max_abs_in_row(unsigned row) const {
|
||||
T ret = numeric_traits<T>::zero();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue