summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-08-23 01:50:02 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-08-23 01:50:02 -0400
commit829b597108f64a97398c863d150905c6d203613f (patch)
tree71194e53b7536031cb6481320e0d109123deed37 /src/main
parentba9a2a34e37f856774662b50a09b3a1d3b9ae89f (diff)
Unsat core printing.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/command_executor.cpp8
-rw-r--r--src/main/command_executor_portfolio.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/command_executor.cpp b/src/main/command_executor.cpp
index 8f51c6d0d..950728fab 100644
--- a/src/main/command_executor.cpp
+++ b/src/main/command_executor.cpp
@@ -119,9 +119,9 @@ bool CommandExecutor::doCommandSingleton(Command* cmd)
d_lastStatistics = ossCurStats.str();
}
- // dump the model/proof if option is set
+ // dump the model/proof/unsat core if option is set
if(status) {
- Command * g = NULL;
+ Command* g = NULL;
if( d_options[options::produceModels] &&
d_options[options::dumpModels] &&
( res.asSatisfiabilityResult() == Result::SAT ||
@@ -138,8 +138,8 @@ bool CommandExecutor::doCommandSingleton(Command* cmd)
res.asSatisfiabilityResult() == Result::UNSAT ) {
g = new GetUnsatCoreCommand();
}
- if( g ){
- //set no time limit during dumping if applicable
+ if(g != NULL) {
+ // set no time limit during dumping if applicable
if( d_options[options::forceNoLimitCpuWhileDump] ){
setNoLimitCPU();
}
diff --git a/src/main/command_executor_portfolio.cpp b/src/main/command_executor_portfolio.cpp
index 4c3c7b6bd..8af0c452a 100644
--- a/src/main/command_executor_portfolio.cpp
+++ b/src/main/command_executor_portfolio.cpp
@@ -357,7 +357,7 @@ bool CommandExecutorPortfolio::doCommandSingleton(Command* cmd)
bool status = portfolioReturn.second;
- // dump the model/proof if option is set
+ // dump the model/proof/unsat core if option is set
if(status) {
if( d_options[options::produceModels] &&
d_options[options::dumpModels] &&
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback