diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-09-30 16:58:24 -0400 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-09-30 16:59:37 -0400 |
commit | 7edd9eb6ecf8d36beea059a62ce573fdb6a6f8a1 (patch) | |
tree | be1d5117c2801e1ca5c2d6d1db0cc562063855f7 /src/main/driver_unified.cpp | |
parent | a4a943134f888a514f19adaffe2f6743a16a25a6 (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.cpp | 11 |
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)) { |