From 170549f21004faee7b7596094c55e8b99d38abaf Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Wed, 26 Jan 2011 00:04:43 +0000 Subject: [PATCH] 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 --- src/simplifier/simplifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3