diff options
Diffstat (limited to 'src/parser/smt1')
-rw-r--r-- | src/parser/smt1/smt1.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/parser/smt1/smt1.cpp b/src/parser/smt1/smt1.cpp index 19be199fd..73838e3cc 100644 --- a/src/parser/smt1/smt1.cpp +++ b/src/parser/smt1/smt1.cpp @@ -178,7 +178,11 @@ bool Smt1::logicIsSet() { void Smt1::setLogic(const std::string& name) { d_logicSet = true; - d_logic = toLogic(name); + if(logicIsForced()) { + d_logic = toLogic(getForcedLogic()); + } else { + d_logic = toLogic(name); + } switch(d_logic) { case QF_S: |