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/theory/logic_info.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/theory/logic_info.cpp')
-rw-r--r-- | src/theory/logic_info.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/logic_info.cpp b/src/theory/logic_info.cpp index a458eec30..9fe3b713f 100644 --- a/src/theory/logic_info.cpp +++ b/src/theory/logic_info.cpp @@ -264,7 +264,7 @@ std::string LogicInfo::getLogicString() const { if(!isQuantified()) { ss << "QF_"; } - if(d_theories[THEORY_ARRAY]) { + if(d_theories[THEORY_ARRAYS]) { ss << (d_sharingTheories == 1 ? "AX" : "A"); ++seen; } @@ -385,11 +385,11 @@ void LogicInfo::setLogicString(std::string logicString) enableQuantifiers(); } if(!strncmp(p, "AX", 2)) { - enableTheory(THEORY_ARRAY); + enableTheory(THEORY_ARRAYS); p += 2; } else { if(*p == 'A') { - enableTheory(THEORY_ARRAY); + enableTheory(THEORY_ARRAYS); ++p; } if(!strncmp(p, "UF", 2)) { |