From db9f91437fa4acae5c80b7b1a0bafc67bfa19943 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Tue, 29 Apr 2014 21:28:25 -0400 Subject: [PATCH] Fix simplify output for SMT2 printer. --- src/printer/smt2/smt2_printer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp index 1250bc659..6fd047ebc 100644 --- a/src/printer/smt2/smt2_printer.cpp +++ b/src/printer/smt2/smt2_printer.cpp @@ -967,9 +967,7 @@ static void toStream(std::ostream& out, const DefineNamedFunctionCommand* c) thr } static void toStream(std::ostream& out, const SimplifyCommand* c) throw() { - out << "Simplify( << " << c->getTerm() << " >> )"; - - out << "ERROR: don't know how to output simplify command" << endl; + out << "(simplify " << c->getTerm() << ")"; } static void toStream(std::ostream& out, const GetValueCommand* c) throw() { -- 2.30.2