3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-24 23:03:41 +00:00

replace print to std::cout by a TRACE

This commit is contained in:
Lev Nachmanson 2025-06-20 07:30:53 -07:00
parent 521f6a6543
commit e66113d4c7
2 changed files with 3 additions and 3 deletions

View file

@ -95,10 +95,10 @@ void order::order_lemma_on_binomial_sign(const monic& xy, lpvar x, lpvar y, int
lemma |= ineq(term(xy.var(), - val(x), y), sign == 1 ? llc::LE : llc::GE, 0);
}
bool order::throttle_monic(const monic& ac, std::string const & debug_location ) {
bool order::throttle_monic(const monic& ac, std::string const & debug_location ) { // todo - remove debug location!
// Check if this monic has already been processed using its variable ID
if (m_processed_monics.contains(ac.var())) {
std::cout << "throttled at " << debug_location << "\n";
TRACE(nla_solver, tout << "throttled at " << debug_location << "\n";);
return true;
}

View file

@ -204,7 +204,7 @@ bool tangents::throttle_plane(unsigned var, bool below, std::string const & debu
// Check if this (var, below) pair has already been processed
if (m_processed_planes.contains(key)) {
std::cout << "throttled plane at " << debug_location << " for var=" << var << ", below=" << below << "\n";
TRACE(nla_solver, tout << "throttled plane at " << debug_location << " for var=" << var << ", below=" << below << "\n";);
return true;
}