diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2018-03-06 16:54:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 16:54:06 -0800 |
commit | c6b2e085d4eb2c232a528a96e13fc7b65fd98fea (patch) | |
tree | 632708f158acc6a3b5b3201212fa2ba1a0606c30 /src/proof/array_proof.cpp | |
parent | 612bb0013f180a7d414f0a4b1e770aaa7ed09152 (diff) |
Make statistics output consistent. (#1647)
* Fixes --hide-zero-stats (and really skips the 0 values)
* Removes the additional newline after each statistic
* Introduces theory::getStatsPrefix(TheoryId) to generate consistent
prefixes for statistics based on the theory id
(e.g., THEORY_BV -> "theory::bv").
Diffstat (limited to 'src/proof/array_proof.cpp')
-rw-r--r-- | src/proof/array_proof.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proof/array_proof.cpp b/src/proof/array_proof.cpp index 511a82617..b0290fb3e 100644 --- a/src/proof/array_proof.cpp +++ b/src/proof/array_proof.cpp @@ -1232,9 +1232,9 @@ std::string ArrayProof::skolemToLiteral(Expr skolem) { } void LFSCArrayProof::printOwnedTerm(Expr term, std::ostream& os, const ProofLetMap& map) { - Assert (theory::Theory::theoryOf(term) == theory::THEORY_ARRAY); + Assert (theory::Theory::theoryOf(term) == theory::THEORY_ARRAYS); - if (theory::Theory::theoryOf(term) != theory::THEORY_ARRAY) { + if (theory::Theory::theoryOf(term) != theory::THEORY_ARRAYS) { // We can get here, for instance, if there's a (select ite ...), e.g. a non-array term // hiding as a subterm of an array term. In that case, send it back to the dispatcher. d_proofEngine->printBoundTerm(term, os, map); |