mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
restore the previous state
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
ff1dc0424c
commit
92fe8c5968
25 changed files with 3878 additions and 70 deletions
|
@ -43,4 +43,15 @@ public:
|
|||
m_value = val;
|
||||
}
|
||||
};
|
||||
#ifdef Z3DEBUG
|
||||
template <typename X>
|
||||
bool check_vector_for_small_values(indexed_vector<X> & w, lp_settings & settings) {
|
||||
for (unsigned i : w.m_index) {
|
||||
const X & v = w[i];
|
||||
if ((!is_zero(v)) && settings.abs_val_is_smaller_than_drop_tolerance(v))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue