]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Fix the build. With assertions enabled it would not compile.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Tue, 3 Apr 2012 12:32:10 +0000 (12:32 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Tue, 3 Apr 2012 12:32:10 +0000 (12:32 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1620 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/constantBitP/ConstantBitPropagation.cpp

index 89a538a5cb557767400be0e279d98e3b5970dd9c..928a459c0979bb71f2ffce9a0b699ade9b0281f4 100644 (file)
@@ -218,7 +218,8 @@ namespace simplifier
         ASTNodeMap::iterator it = fromTo.begin();
         while(it != fromTo.end())
           {
-          assert(it->getKind() != SYMBOL);
+          // I don't think there should be a constant in here ever.
+          assert(it->first.GetKind() != SYMBOL);
           it++;
           }
       }