summaryrefslogtreecommitdiff
path: root/src/main/driver_unified.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-09-30 16:58:24 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-09-30 16:59:37 -0400
commit7edd9eb6ecf8d36beea059a62ce573fdb6a6f8a1 (patch)
treebe1d5117c2801e1ca5c2d6d1db0cc562063855f7 /src/main/driver_unified.cpp
parenta4a943134f888a514f19adaffe2f6743a16a25a6 (diff)
Proofs- and cores-related segfault fixes (mainly a usability issue), thanks Christoph Sticksel for reporting these.
Diffstat (limited to 'src/main/driver_unified.cpp')
-rw-r--r--src/main/driver_unified.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp
index 1202c7882..bf297ad9e 100644
--- a/src/main/driver_unified.cpp
+++ b/src/main/driver_unified.cpp
@@ -268,15 +268,8 @@ int runCvc4(int argc, char* argv[], Options& opts) {
Command* cmd;
bool status = true;
if(opts[options::interactive] && inputFromStdin) {
- if(opts[options::tearDownIncremental] && opts[options::incrementalSolving]) {
- if(opts.wasSetByUser(options::incrementalSolving)) {
- throw OptionException("--tear-down-incremental incompatible with --incremental");
- }
-
- cmd = new SetOptionCommand("incremental", false);
- cmd->setMuted(true);
- pExecutor->doCommand(cmd);
- delete cmd;
+ if(opts[options::tearDownIncremental]) {
+ throw OptionException("--tear-down-incremental doesn't work in interactive mode");
}
#ifndef PORTFOLIO_BUILD
if(!opts.wasSetByUser(options::incrementalSolving)) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback