From: Morgan Deters Date: Fri, 17 May 2013 12:43:24 +0000 (-0400) Subject: Fix to empty response to (get-assignment). X-Git-Tag: cvc5-1.0.0~7287^2~113^2~12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24cb86db0716875b14d86af27354e13898899b6c;p=cvc5.git Fix to empty response to (get-assignment). Thanks to David Cok for reporting this issue. --- diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index e49e6fb54..908ad05e2 100644 --- 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()); } vector sexprs;