mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 04:48:45 +00:00
fix ubuntu's build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
b46c67ce14
commit
f17c3c3b12
|
@ -280,14 +280,12 @@ void grobner_core::del_equation(equation * eq) {
|
|||
}
|
||||
|
||||
void grobner_core::simplify_using_to_superpose(equation& eq) {
|
||||
bool result = false;
|
||||
bool simplified;
|
||||
TRACE("grobner", tout << "simplifying: "; display_equation(tout, eq); tout << "using equalities of m_to_superpose of size " << m_to_superpose.size() << "\n";);
|
||||
do {
|
||||
simplified = false;
|
||||
for (equation* p : m_to_superpose) {
|
||||
if (simplify_source_target(p, &eq)) {
|
||||
result = true;
|
||||
simplified = true;
|
||||
}
|
||||
if (canceled() || eq.expr()->is_scalar()) {
|
||||
|
@ -297,8 +295,11 @@ void grobner_core::simplify_using_to_superpose(equation& eq) {
|
|||
}
|
||||
while (simplified && !eq.expr()->is_scalar());
|
||||
|
||||
TRACE("grobner", tout << "simplification result: "; display_equation(tout, eq););
|
||||
TRACE("grobner",
|
||||
if (simplified) { tout << "simplification result: "; display_equation(tout, eq);}
|
||||
else {tout << "no simplification\n";});
|
||||
}
|
||||
|
||||
|
||||
const nex* grobner_core::get_highest_monomial(const nex* e) const {
|
||||
switch (e->type()) {
|
||||
|
|
|
@ -179,7 +179,7 @@ private:
|
|||
void init();
|
||||
void compute_basis();
|
||||
void compute_basis_init();
|
||||
std::unordered_set<lpvar> grobner::get_vars_of_expr_with_opening_terms(const nex* e);
|
||||
std::unordered_set<lpvar> get_vars_of_expr_with_opening_terms(const nex* e);
|
||||
void display_matrix(std::ostream & out) const;
|
||||
std::ostream& display(std::ostream& out) const { return m_gc.display(out); }
|
||||
void add_row(unsigned);
|
||||
|
|
Loading…
Reference in a new issue