]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Speedup. Problems with lots of pluses sometimes ran slowly. For the same reason that...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 26 Jan 2011 00:04:43 +0000 (00:04 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 26 Jan 2011 00:04:43 +0000 (00:04 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1091 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/simplifier.cpp

index f678ffe36a773dc3ada01bbca9e0ad3b08ec079b..e97b3de9c5745521d033188da061639c5882a223 100644 (file)
@@ -1642,7 +1642,7 @@ namespace BEEV
                {
                        ASTVec v;
                        ASTVec toProcess = actualInputterm.GetChildren();
-                       if (actualInputterm.GetKind() == BVAND || actualInputterm.GetKind() == BVOR)
+                       if (actualInputterm.GetKind() == BVAND || actualInputterm.GetKind() == BVOR || actualInputterm.GetKind() == BVPLUS)
                        {
                                // If we didn't flatten these, then we'd start flattening each of these
                                // from the bottom up. Potentially creating tons of the nodes along the way.