diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-04-07 17:33:37 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2020-04-07 17:33:37 -0700 |
commit | a7c1a5bdcc82592b6b1c65ae819488cc36964e7b (patch) | |
tree | 8210c5c3141dedf78551b6422eb2a45139720cf8 | |
parent | 99914b8d96a7d261d4a22a1864ac04c3970d6520 (diff) |
update
-rw-r--r-- | src/smt/set_defaults.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/smt/set_defaults.cpp b/src/smt/set_defaults.cpp index b7e6cf3b5..d1eed0748 100644 --- a/src/smt/set_defaults.cpp +++ b/src/smt/set_defaults.cpp @@ -527,7 +527,7 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic) { Notice() << "Enabling linear integer arithmetic because strings are enabled" - << endl; + << std::endl; log.enableTheory(THEORY_ARITH); log.enableIntegers(); log.arithOnlyLinear(); @@ -542,15 +542,15 @@ void setDefaults(SmtEngine& smte, LogicInfo& logic) || logic.isTheoryEnabled(THEORY_SETS) // Non-linear arithmetic requires UF to deal with division/mod because // their expansion introduces UFs for the division/mod-by-zero case. - || (d_logic.isTheoryEnabled(THEORY_ARITH) && !d_logic.isLinear()) + || (logic.isTheoryEnabled(THEORY_ARITH) && !logic.isLinear()) // If division/mod-by-zero is not treated as a constant value in BV, we // need UF. - || (d_logic.isTheoryEnabled(THEORY_BV) + || (logic.isTheoryEnabled(THEORY_BV) && !options::bitvectorDivByZeroConst()) // FP requires UF since there are multiple operators that are partially // defined (see http://smtlib.cs.uiowa.edu/papers/BTRW15.pdf for more // details). - || d_logic.isTheoryEnabled(THEORY_FP)) + || logic.isTheoryEnabled(THEORY_FP)) { if (!logic.isTheoryEnabled(THEORY_UF)) { |