3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

adjust trace output

This commit is contained in:
Nikolaj Bjorner 2022-06-29 08:19:52 -07:00
parent 5afcb489e0
commit ff265235c1
2 changed files with 7 additions and 3 deletions

View file

@ -2154,13 +2154,14 @@ void theory_arith<Ext>::set_gb_exhausted() {
// Scan the grobner basis eqs, and look for inconsistencies.
template<typename Ext>
bool theory_arith<Ext>::get_gb_eqs_and_look_for_conflict(ptr_vector<grobner::equation>& eqs, grobner& gb) {
TRACE("grobner", );
eqs.reset();
gb.get_equations(eqs);
TRACE("grobner_bug", tout << "after gb\n";);
TRACE("grobner", tout << "after gb\n";
for (grobner::equation* eq : eqs)
gb.display_equation(tout, *eq);
);
for (grobner::equation* eq : eqs) {
TRACE("grobner_bug", gb.display_equation(tout, *eq););
if (is_inconsistent(eq, gb) || is_inconsistent2(eq, gb)) {
TRACE("grobner", tout << "inconsistent: "; gb.display_equation(tout, *eq););
return true;