From: trevor_hansen Date: Tue, 3 Apr 2012 12:32:10 +0000 (+0000) Subject: Fix the build. With assertions enabled it would not compile. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=1382261393ee23850427ac239dfe816f6336a64d;p=francis%2Fstp.git Fix the build. With assertions enabled it would not compile. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1620 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/simplifier/constantBitP/ConstantBitPropagation.cpp b/src/simplifier/constantBitP/ConstantBitPropagation.cpp index 89a538a..928a459 100644 --- a/src/simplifier/constantBitP/ConstantBitPropagation.cpp +++ b/src/simplifier/constantBitP/ConstantBitPropagation.cpp @@ -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++; } }