3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-20 15:34:41 +00:00

removed calls to settings.random_next() from assert statements

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-04-27 17:21:53 -07:00
parent aeef6fd2d4
commit 82bf62f5fa
8 changed files with 28 additions and 23 deletions

View file

@ -1277,11 +1277,8 @@ void core::add_equivalence_maybe(const lp::lar_term *t, lpci c0, lpci c1) {
// x is equivalent to y if x = +- y
void core::init_vars_equivalence() {
/* SASSERT(m_evars.empty());*/
collect_equivs();
/* TRACE("nla_solver_details", tout << "number of equivs = " << m_evars.size(););*/
SASSERT((settings().random_next() % 100) || tables_are_ok());
// SASSERT(tables_are_ok());
}
bool core:: tables_are_ok() const {
@ -1339,6 +1336,7 @@ void core::init_search() {
}
void core::init_to_refine() {
TRACE("nla_solver", tout << "emons:" << pp_emons(*this, m_emons););
m_to_refine.clear();
for (auto const & m : m_emons)
if (!check_monomial(m))