diff options
author | Clark Barrett <barrett@cs.stanford.edu> | 2016-08-19 19:42:20 -0700 |
---|---|---|
committer | Clark Barrett <barrett@cs.stanford.edu> | 2016-08-19 19:42:20 -0700 |
commit | 6b355496aaf27d46d6a33402814753589b755842 (patch) | |
tree | 93367699e064e0c081bdac42625b6d08b39e4fb8 /src/printer/cvc | |
parent | d28f9f38ead8ec010a38e021f92d5de95261afc9 (diff) |
Fixed two bugs
Diffstat (limited to 'src/printer/cvc')
-rw-r--r-- | src/printer/cvc/cvc_printer.cpp | 2 |
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: |