From: trevor_hansen Date: Tue, 6 Jul 2010 14:38:52 +0000 (+0000) Subject: Bugfix. Fix a check to ensure that the type of nodes doesn't change for the worst. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f6f0266a4b5ec1c3c2a995472530dd15c43c8daf;p=francis%2Fstp.git Bugfix. Fix a check to ensure that the type of nodes doesn't change for the worst. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@931 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/simplifier/simplifier.cpp b/src/simplifier/simplifier.cpp index 8aa26f8..5fab425 100644 --- a/src/simplifier/simplifier.cpp +++ b/src/simplifier/simplifier.cpp @@ -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.