From: Morgan Deters Date: Tue, 26 Mar 2013 21:58:33 +0000 (-0400) Subject: Make --incremental the default when running interactively X-Git-Tag: cvc5-1.0.0~7364 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9912269ab2b47b783a66f381b14148c0ac73e93;p=cvc5.git Make --incremental the default when running interactively --- diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp index 9fa40d3ab..bdce5639b 100644 --- a/src/main/driver_unified.cpp +++ b/src/main/driver_unified.cpp @@ -235,7 +235,14 @@ int runCvc4(int argc, char* argv[], Options& opts) { // Parse and execute commands until we are done Command* cmd; bool status = true; - if( opts[options::interactive] ) { + if(opts[options::interactive]) { +#ifndef PORTFOLIO_BUILD + if(!opts.wasSetByUser(options::incrementalSolving)) { + cmd = new SetOptionCommand("incremental", true); + pExecutor->doCommand(cmd); + delete cmd; + } +#endif /* PORTFOLIO_BUILD */ InteractiveShell shell(*exprMgr, opts); Message() << Configuration::getPackageName() << " " << Configuration::getVersionString();