]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. Thanks for Jianjun Huang for the report. If the simplifying node factory...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 1 Sep 2011 12:29:37 +0000 (12:29 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 1 Sep 2011 12:29:37 +0000 (12:29 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1392 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/bvsolver.cpp

index c67f46670263fe44edfc36dfa50eb6130fbe6223..681ae8432fd9f43efdd3e46b2f5aac056360508d 100644 (file)
@@ -660,10 +660,11 @@ namespace BEEV
     {
         ASTVec c = FlattenKind(AND,input.GetChildren());
         input = _bm->CreateNode(AND,c);
+        k = input.GetKind();
 
         // When flattening simplifications will be applied to the node, potentially changing it's type:
         // (AND x (ANY (not x) y)) gives us FALSE.
-       if (!(EQ == input.GetKind() || AND == input.GetKind()))
+       if (!(EQ == k || AND == k ))
            return input;
 
           if (CheckAlreadySolvedMap(input, output))