From: trevor_hansen Date: Wed, 26 Jan 2011 00:04:43 +0000 (+0000) Subject: Speedup. Problems with lots of pluses sometimes ran slowly. For the same reason that... X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=170549f21004faee7b7596094c55e8b99d38abaf;p=francis%2Fstp.git Speedup. Problems with lots of pluses sometimes ran slowly. For the same reason that BVOR/BVAND ones did. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1091 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/simplifier/simplifier.cpp b/src/simplifier/simplifier.cpp index f678ffe..e97b3de 100644 --- a/src/simplifier/simplifier.cpp +++ b/src/simplifier/simplifier.cpp @@ -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.