projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
790bd94
)
Fix to empty response to (get-assignment).
author
Morgan Deters
<mdeters@cs.nyu.edu>
Fri, 17 May 2013 12:43:24 +0000
(08:43 -0400)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Fri, 17 May 2013 12:43:24 +0000
(08:43 -0400)
Thanks to David Cok for reporting this issue.
src/smt/smt_engine.cpp
patch
|
blob
|
history
diff --git
a/src/smt/smt_engine.cpp
b/src/smt/smt_engine.cpp
index e49e6fb549bf7ce4eb154b919f828f1b47a3bc70..908ad05e2339e6a75a356c551ca6e4b7541245a8 100644
(file)
--- a/
src/smt/smt_engine.cpp
+++ b/
src/smt/smt_engine.cpp
@@
-3327,7
+3327,7
@@
CVC4::SExpr SmtEngine::getAssignment() throw(ModalException) {
}
if(d_assignments == NULL) {
- return SExpr();
+ return SExpr(
vector<SExpr>()
);
}
vector<SExpr> sexprs;