summaryrefslogtreecommitdiff
path: root/src/main/command_executor.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-03-08 12:10:41 -0600
committerajreynol <andrew.j.reynolds@gmail.com>2016-03-08 12:10:41 -0600
commit346c85d145f6938ce7dce74e7e7cb855d5a6025a (patch)
treefb9cc78736360756e2af81fc3457c4ed9929f32f /src/main/command_executor.cpp
parentb4c7be882b88c6741212ecd9c6be4e91fec76087 (diff)
Extend synthesis solver to handle single invocation with additional universal quantification. Refactor query/check-sat to call one internal function in SmtEngine. Make check-synth its own command. Minor work on quant ee.
Diffstat (limited to 'src/main/command_executor.cpp')
-rw-r--r--src/main/command_executor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/command_executor.cpp b/src/main/command_executor.cpp
index 672dedc50..cfd0f708c 100644
--- a/src/main/command_executor.cpp
+++ b/src/main/command_executor.cpp
@@ -115,6 +115,10 @@ bool CommandExecutor::doCommandSingleton(Command* cmd)
if(q != NULL) {
d_result = res = q->getResult();
}
+ CheckSynthCommand* csy = dynamic_cast<CheckSynthCommand*>(cmd);
+ if(csy != NULL) {
+ d_result = res = csy->getResult();
+ }
if((cs != NULL || q != NULL) && d_options.getStatsEveryQuery()) {
std::ostringstream ossCurStats;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback