mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 15:23:41 +00:00
replace print to std::cout by a TRACE
This commit is contained in:
parent
521f6a6543
commit
e66113d4c7
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
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
|
// Check if this monic has already been processed using its variable ID
|
||||||
if (m_processed_monics.contains(ac.var())) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
// Check if this (var, below) pair has already been processed
|
||||||
if (m_processed_planes.contains(key)) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue