summaryrefslogtreecommitdiff
path: root/src/printer
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.stanford.edu>2016-08-19 19:42:20 -0700
committerClark Barrett <barrett@cs.stanford.edu>2016-08-19 19:42:20 -0700
commit6b355496aaf27d46d6a33402814753589b755842 (patch)
tree93367699e064e0c081bdac42625b6d08b39e4fb8 /src/printer
parentd28f9f38ead8ec010a38e021f92d5de95261afc9 (diff)
Fixed two bugs
Diffstat (limited to 'src/printer')
-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 bc59e37ba..d09290db5 100644
--- a/src/printer/cvc/cvc_printer.cpp
+++ b/src/printer/cvc/cvc_printer.cpp
@@ -726,7 +726,7 @@ void CvcPrinter::toStream(std::ostream& out, TNode n, int depth, bool types, boo
case kind::BITVECTOR_SIGN_EXTEND:
out << "SX(";
toStream(out, n[0], depth, types, false);
- out << ", " << n.getOperator().getConst<BitVectorSignExtend>() << ')';
+ out << ", " << BitVectorType(n.getType().toType()).getSize() << ')';
return;
break;
case kind::BITVECTOR_ROTATE_LEFT:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback