]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. Off-by-one in the simplifier. This merges in the change from my branch r324
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 21 Oct 2009 05:00:53 +0000 (05:00 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 21 Oct 2009 05:00:53 +0000 (05:00 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@331 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/simplifier.cpp

index cfdb3f50f0f2298bb910803079026b09b9b33bb8..9a693b12b76d6673d14f201ee3e49ae58ad5d93c 100644 (file)
@@ -2219,7 +2219,7 @@ namespace BEEV
               else
                 {
                   const unsigned int shift = GetUnsignedConst(b);
-                  if (shift > width)
+                  if (shift >= width)
                     {
                       output = _bm->CreateZeroConst(width);
                     }