From 1382261393ee23850427ac239dfe816f6336a64d Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Tue, 3 Apr 2012 12:32:10 +0000 Subject: [PATCH] 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 --- src/simplifier/constantBitP/ConstantBitPropagation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; } } -- 2.47.3