From: Liana Hadarean Date: Wed, 28 Mar 2012 02:47:50 +0000 (+0000) Subject: fixed faulty bv rewrite rule X-Git-Tag: cvc5-1.0.0~8259 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05d64d040fd7340ec713af7b34515c3daac50220;p=cvc5.git fixed faulty bv rewrite rule --- diff --git a/src/theory/bv/theory_bv_rewrite_rules_simplification.h b/src/theory/bv/theory_bv_rewrite_rules_simplification.h index 3b813d1fa..507f98c91 100644 --- a/src/theory/bv/theory_bv_rewrite_rules_simplification.h +++ b/src/theory/bv/theory_bv_rewrite_rules_simplification.h @@ -558,7 +558,7 @@ Node RewriteRule::apply(Node node) { template<> bool RewriteRule::applies(Node node) { return (node.getKind() == kind::BITVECTOR_ULE && - node[1] == utils::mkConst(BitVector(utils::getSize(node[0]), Integer(0)))); + node[0] == utils::mkConst(BitVector(utils::getSize(node[0]), Integer(0)))); } template<>