summaryrefslogtreecommitdiff
path: root/src/theory/logic_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/logic_info.cpp')
-rw-r--r--src/theory/logic_info.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/logic_info.cpp b/src/theory/logic_info.cpp
index a30867ee1..c079eecf9 100644
--- a/src/theory/logic_info.cpp
+++ b/src/theory/logic_info.cpp
@@ -157,7 +157,9 @@ void LogicInfo::setLogicString(std::string logicString) throw(IllegalArgumentExc
enableTheory(THEORY_BOOL);
const char* p = logicString.c_str();
- if(!strcmp(p, "QF_SAT") || *p == '\0') {
+ if(*p == '\0') {
+ // propositional logic only; we're done.
+ } else if(!strcmp(p, "QF_SAT")) {
// propositional logic only; we're done.
p += 6;
} else if(!strcmp(p, "QF_ALL_SUPPORTED")) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback