]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. Fix a check to ensure that the type of nodes doesn't change for the worst.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Tue, 6 Jul 2010 14:38:52 +0000 (14:38 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Tue, 6 Jul 2010 14:38:52 +0000 (14:38 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@931 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/simplifier.cpp

index 8aa26f8d07c53accfac127a13b1c1762e4def1d8..5fab42593ac95eed37d47fbbbbcdc8495490fd11 100644 (file)
@@ -1060,7 +1060,7 @@ namespace BEEV
     ASTVec c, outvec;
     c = flat.GetChildren();
     SortByArith(c);
-    Kind k = a.GetKind();
+    Kind k = flat.GetKind();
 
     // If the simplifying node factory is enabled, a
     // constant may be returned by Flatten.