diff options
author | Tim King <taking@cs.nyu.edu> | 2012-09-11 00:20:51 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-09-11 00:20:51 +0000 |
commit | d8883776ce80199096f99d1088910d478fd0cd6e (patch) | |
tree | 1425084ba75c36b00656c74d59dd8ebf5bf88a1a /src/printer | |
parent | 680af6f4dc9e5d6616918e8fde18cd64774d0df5 (diff) |
Partially reverting the changes made in 4308. There is now both an Expr and Node version of getValue() in TheoryModel.
Diffstat (limited to 'src/printer')
-rw-r--r-- | src/printer/cvc/cvc_printer.cpp | 2 | ||||
-rw-r--r-- | src/printer/smt2/smt2_printer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/cvc/cvc_printer.cpp b/src/printer/cvc/cvc_printer.cpp index 9e61fb8df..5803ad23f 100644 --- a/src/printer/cvc/cvc_printer.cpp +++ b/src/printer/cvc/cvc_printer.cpp @@ -777,7 +777,7 @@ void CvcPrinter::toStream(std::ostream& out, Model* m, Command* c, int c_type ) } out << "): "; } - out << Node::fromExpr( tm->getValue( n.toExpr() ) ); + out << tm->getValue( n ); out << ";" << std::endl; /* diff --git a/src/printer/smt2/smt2_printer.cpp b/src/printer/smt2/smt2_printer.cpp index 6c6d2a576..9400b7732 100644 --- a/src/printer/smt2/smt2_printer.cpp +++ b/src/printer/smt2/smt2_printer.cpp @@ -558,7 +558,7 @@ void Smt2Printer::toStream(std::ostream& out, Model* m, Command* c, int c_type ) out << ") " << tn; } out << " "; - out << Node::fromExpr( tm->getValue( n.toExpr() ) ); + out << tm->getValue( n ); out << ")" << std::endl; /* |