projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cd774
)
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>
Mon, 20 May 2013 20:53:37 +0000
(16:53 -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 0bfc6e63453f38296955855f64d8567676bf9c2b..284f39d5448bd09f2f4b8abea7a989cb68a0b7fd 100644
(file)
--- a/
src/smt/smt_engine.cpp
+++ b/
src/smt/smt_engine.cpp
@@
-3313,7
+3313,7
@@
CVC4::SExpr SmtEngine::getAssignment() throw(ModalException) {
}
if(d_assignments == NULL) {
- return SExpr();
+ return SExpr(
vector<SExpr>()
);
}
vector<SExpr> sexprs;