summaryrefslogtreecommitdiff
path: root/src/theory/bv
diff options
context:
space:
mode:
authormakaimann <makaim@stanford.edu>2018-12-10 08:37:11 -0800
committerMathias Preiner <mathias.preiner@gmail.com>2018-12-10 08:37:11 -0800
commite1dc39321cd4ab29b436025badfb05714f5649b3 (patch)
treec2f02cd7370157fbea51ec6602ad174b149cd850 /src/theory/bv
parent7270b2a800c45fa87ef4cdcad8fc353ccb8cd471 (diff)
BoolToBV modes (off, ite, all) (#2530)
Diffstat (limited to 'src/theory/bv')
-rw-r--r--src/theory/bv/theory_bv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp
index e60d60456..949a3d738 100644
--- a/src/theory/bv/theory_bv.cpp
+++ b/src/theory/bv/theory_bv.cpp
@@ -740,7 +740,7 @@ Node TheoryBV::ppRewrite(TNode t)
{
Debug("bv-pp-rewrite") << "TheoryBV::ppRewrite " << t << "\n";
Node res = t;
- if (RewriteRule<BitwiseEq>::applies(t)) {
+ if (options::bitwiseEq() && RewriteRule<BitwiseEq>::applies(t)) {
Node result = RewriteRule<BitwiseEq>::run<false>(t);
res = Rewriter::rewrite(result);
} else if (d_isCoreTheory && t.getKind() == kind::EQUAL) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback