summaryrefslogtreecommitdiff
path: root/src/printer/cvc
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer/cvc')
-rw-r--r--src/printer/cvc/cvc_printer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printer/cvc/cvc_printer.cpp b/src/printer/cvc/cvc_printer.cpp
index 664ea58fc..564769207 100644
--- a/src/printer/cvc/cvc_printer.cpp
+++ b/src/printer/cvc/cvc_printer.cpp
@@ -81,7 +81,7 @@ void CvcPrinter::toStream(std::ostream& out, TNode n, int depth, bool types, boo
}
// variables
- if(n.getMetaKind() == kind::metakind::VARIABLE) {
+ if(n.isVar()) {
string s;
if(n.getAttribute(expr::VarNameAttr(), s)) {
out << s;
@@ -102,7 +102,7 @@ void CvcPrinter::toStream(std::ostream& out, TNode n, int depth, bool types, boo
}
// constants
- if(n.getMetaKind() == kind::metakind::CONSTANT) {
+ if(n.isConst()) {
switch(n.getKind()) {
case kind::BITVECTOR_TYPE:
out << "BITVECTOR(" << n.getConst<BitVectorSize>().size << ")";
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback