]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Important Bugfix. The recently introduced bvmod simplifications are wrong.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 25 Mar 2012 05:33:03 +0000 (05:33 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 25 Mar 2012 05:33:03 +0000 (05:33 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1611 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/simplifier.cpp

index 0da30f95bcac2e0b5223352406c970ce9376f623..e576f72e28832dbd998079fcc18ae28aad3d19ba 100644 (file)
@@ -2832,7 +2832,7 @@ namespace BEEV
            ASTNode div = nf->CreateTerm(BVMOD,rest,top,bottom);
            div = nf->CreateTerm(BVCONCAT,inputValueWidth,_bm->CreateZeroConst(inputValueWidth-rest),div);
 
-           output = nf->CreateTerm(ITE, inputValueWidth, cond, div, _bm->CreateZeroConst(inputValueWidth));
+           output = nf->CreateTerm(ITE, inputValueWidth, cond, div, inputterm[0]);
            break;
          }