summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/printer/cvc/cvc_printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/cvc/cvc_printer.cpp b/src/printer/cvc/cvc_printer.cpp
index 564769207..8121085d3 100644
--- a/src/printer/cvc/cvc_printer.cpp
+++ b/src/printer/cvc/cvc_printer.cpp
@@ -102,7 +102,7 @@ void CvcPrinter::toStream(std::ostream& out, TNode n, int depth, bool types, boo
}
// constants
- if(n.isConst()) {
+ if(n.getMetaKind() == kind::metakind::CONSTANT) {
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