diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-11-27 11:12:11 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-11-27 11:12:26 -0500 |
commit | 86b54ede8a2898a6c51fddd4bb32f8b4b87b5da6 (patch) | |
tree | 989d5595bb52ba2e9cff08e9dd27ccf65e3b0997 /examples/api/linear_arith.cpp | |
parent | dd7e0c66cab285c154f59ff27132059c34e09e23 (diff) |
Incremental is now on by default when using from API, off for command-line driver except in interactive mode.
Diffstat (limited to 'examples/api/linear_arith.cpp')
-rw-r--r-- | examples/api/linear_arith.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/api/linear_arith.cpp b/examples/api/linear_arith.cpp index 1c1c439df..87f9d8a5b 100644 --- a/examples/api/linear_arith.cpp +++ b/examples/api/linear_arith.cpp @@ -26,8 +26,7 @@ using namespace CVC4; int main() { ExprManager em; SmtEngine smt(&em); - smt.setOption("incremental", true); // Enable incremental solving - smt.setLogic("QF_LIRA"); // Set the logic + smt.setLogic("QF_LIRA"); // Set the logic // Prove that if given x (Integer) and y (Real) then // the maximum value of y - x is 2/3 |