summaryrefslogtreecommitdiff
path: root/src/printer/smt2/smt2_printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer/smt2/smt2_printer.cpp')
-rw-r--r--src/printer/smt2/smt2_printer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp
index ef8c8fcbc..ed8648c47 100644
--- a/src/printer/smt2/smt2_printer.cpp
+++ b/src/printer/smt2/smt2_printer.cpp
@@ -643,7 +643,10 @@ static void toStream(std::ostream& out, const SimplifyCommand* c) throw() {
}
static void toStream(std::ostream& out, const GetValueCommand* c) throw() {
- out << "(get-value " << c->getTerm() << ")";
+ out << "(get-value ( ";
+ const vector<Expr>& terms = c->getTerms();
+ copy(terms.begin(), terms.end(), ostream_iterator<Expr>(out, " "));
+ out << " ))";
}
static void toStream(std::ostream& out, const GetAssignmentCommand* c) throw() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback