Fix rewriter typo.
authorMorgan Deters <mdeters@cs.nyu.edu>
Tue, 17 Jun 2014 03:44:57 +0000 (23:44 -0400)
committerMorgan Deters <mdeters@cs.nyu.edu>
Tue, 17 Jun 2014 04:05:58 +0000 (00:05 -0400)
src/theory/booleans/theory_bool_rewriter.cpp

index ef415139d868ce65b910c33cccc8504768601f2d..b243627b226a11d6c0baeef6f3247f632fb20bcc 100644 (file)
@@ -233,7 +233,7 @@ RewriteResponse TheoryBoolRewriter::preRewrite(TNode n) {
         }
         else if (n[1][1] == t && n[1][0].isConst()) {
           matchesForm = true;
-          constantsEqual = (n[1][1] == c);
+          constantsEqual = (n[1][0] == c);
         }
       }
       if(matchesForm){