From d4fb7022845f3ec595cff3fb1b6324e2364d25d3 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Fri, 17 May 2013 08:43:24 -0400 Subject: [PATCH] Fix to empty response to (get-assignment). Thanks to David Cok for reporting this issue. --- src/smt/smt_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index 0bfc6e634..284f39d54 100644 --- 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()); } vector sexprs; -- 2.30.2