projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae5c86
)
Made tear-down-incremental more like it used to be: when tear-down value
author
Clark Barrett
<barrett@cs.stanford.edu>
Wed, 14 Dec 2016 19:12:58 +0000
(11:12 -0800)
committer
Clark Barrett
<barrett@cs.stanford.edu>
Wed, 14 Dec 2016 19:13:52 +0000
(11:13 -0800)
is 1, it does not automatically enable incremental mode.
src/main/driver_unified.cpp
patch
|
blob
|
history
diff --git
a/src/main/driver_unified.cpp
b/src/main/driver_unified.cpp
index e43c8a6ee2d328d93967c20937dda024048bab3c..1da4446a6895aa7019701effe33984382d9483d0 100644
(file)
--- a/
src/main/driver_unified.cpp
+++ b/
src/main/driver_unified.cpp
@@
-320,7
+320,9
@@
int runCvc4(int argc, char* argv[], Options& opts) {
delete cmd;
}
} else if( opts.getTearDownIncremental() > 0) {
- if(!opts.getIncrementalSolving()) {
+ if(!opts.getIncrementalSolving() && opts.getTearDownIncremental() > 1) {
+ // For tear-down-incremental values greater than 1, need incremental
+ // on too.
cmd = new SetOptionCommand("incremental", SExpr(true));
cmd->setMuted(true);
pExecutor->doCommand(cmd);