fixed bv rewriter to evaluate bvurem over constants
authorLiana Hadarean <lianahady@gmail.com>
Tue, 9 Oct 2012 20:05:46 +0000 (20:05 +0000)
committerLiana Hadarean <lianahady@gmail.com>
Tue, 9 Oct 2012 20:05:46 +0000 (20:05 +0000)
src/theory/bv/theory_bv_rewriter.cpp

index 955acf707c37dc39112ba17720339fb8ae16069d..f41a64ac4751b7a5d4e86c5cf61c1edf33f6e0c3 100644 (file)
@@ -386,7 +386,6 @@ RewriteResponse TheoryBVRewriter::RewriteUdiv(TNode node, bool preregister){
 
 RewriteResponse TheoryBVRewriter::RewriteUrem(TNode node, bool preregister) {
   Node resultNode = node;
-  return RewriteResponse(REWRITE_DONE, resultNode); 
 
   if(RewriteRule<UremPow2>::applies(node)) {
     resultNode = RewriteRule<UremPow2>::run <false> (node);