summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2019-03-23 22:58:31 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2019-03-23 22:58:31 -0700
commitc6e9766a910509583a32e85ad8be55aea550c17c (patch)
treec0ebc74885920980f0295bdf36cd27308acb9582 /src
parent9b7ba1603b2d6ff4c13182655ca8af32966570aa (diff)
BV: Fix typerules for rotate operators. (#2895)
Diffstat (limited to 'src')
-rw-r--r--src/theory/bv/theory_bv_type_rules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/bv/theory_bv_type_rules.h b/src/theory/bv/theory_bv_type_rules.h
index 616a03f6b..a9509df42 100644
--- a/src/theory/bv/theory_bv_type_rules.h
+++ b/src/theory/bv/theory_bv_type_rules.h
@@ -348,7 +348,7 @@ class BitVectorRotateLeftOpTypeRule
TNode n,
bool check)
{
- Assert(n.getKind() == kind::BITVECTOR_ROTATE_LEFT);
+ Assert(n.getKind() == kind::BITVECTOR_ROTATE_LEFT_OP);
return nodeManager->builtinOperatorType();
}
}; /* class BitVectorRotateLeftOpTypeRule */
@@ -360,7 +360,7 @@ class BitVectorRotateRightOpTypeRule
TNode n,
bool check)
{
- Assert(n.getKind() == kind::BITVECTOR_ROTATE_RIGHT);
+ Assert(n.getKind() == kind::BITVECTOR_ROTATE_RIGHT_OP);
return nodeManager->builtinOperatorType();
}
}; /* class BitVectorRotateRightOpTypeRule */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback