3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +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

@ -27,6 +27,8 @@
namespace nla {
class core;
class emonomials : public var_eqs_merge_handler {
mutable svector<lpvar> m_find_key;
/**
@ -275,7 +277,7 @@ public:
/**
\brief display state of emonomials
*/
std::ostream& display(std::ostream& out) const;
std::ostream& display(const core&, std::ostream& out) const;
/**
\brief
@ -291,6 +293,15 @@ public:
bool is_monomial_var(lpvar v) const { return m_var2index.get(v, UINT_MAX) != UINT_MAX; }
};
inline std::ostream& operator<<(std::ostream& out, emonomials const& m) { return m.display(out); }
struct pp_emons {
const core& m_c;
const emonomials& m_em;
pp_emons(const core& c, const emonomials& e): m_c(c), m_em(e) {}
inline std::ostream& display(std::ostream& out) const {
return m_em.display(m_c, out);
}
};
inline std::ostream& operator<<(std::ostream& out, pp_emons const& p) { return p.display(out); }
}