From: Morgan Deters Date: Mon, 11 Jul 2011 19:34:01 +0000 (+0000) Subject: fix some confusing debug output (bogus counter) X-Git-Tag: cvc5-1.0.0~8503 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7515ee9cda0925721c4fa7e1ba9ef3b25dc5e0d0;p=cvc5.git fix some confusing debug output (bogus counter) --- diff --git a/src/theory/theory.h b/src/theory/theory.h index 59d26ff05..56a5f2f76 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -141,7 +141,7 @@ protected: d_wasSharedTermFact = false; d_factsHead = d_factsHead + 1; Debug("theory") << "Theory::get() => " << fact - << " (" << d_facts.size() << " left)" << std::endl; + << " (" << d_facts.size() - d_factsHead << " left)" << std::endl; d_out->newFact(fact); return fact; } diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h index 94ba8cabb..d4138f807 100644 --- a/src/theory/theory_engine.h +++ b/src/theory/theory_engine.h @@ -355,7 +355,7 @@ public: * @param node the assertion */ inline void assertFact(TNode node) { - Debug("theory") << "TheoryEngine::assertFact(" << node << ")" << std::endl<assertFact(node); } else { theory::Theory* theory = theoryOf(atom); @@ -443,7 +443,7 @@ public: TNode atom = node.getKind() == kind::NOT ? node[0] : node; if (atom.getKind() == kind::EQUAL) { if(d_logic == "QF_AX") { - //Debug("theory")<< "TheoryEngine::assertFact QF_AX logic; everything goes to Arrays \n"; + Debug("theory") << "TheoryEngine::assertFact QF_AX logic; everything goes to Arrays" << std::endl; d_theoryTable[theory::THEORY_ARRAY]->explain(node); } else { theoryOf(atom[0])->explain(node);