]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. The last checkin caused an infinite loop (often).
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sat, 30 Apr 2011 05:09:02 +0000 (05:09 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sat, 30 Apr 2011 05:09:02 +0000 (05:09 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1293 e59a4935-1847-0410-ae03-e826735625c1

src/AST/NodeFactory/SimplifyingNodeFactory.cpp

index b8ab5907881ec45525d86a3cda3b1a27ba628f70..df3e5783aa909a9672e22af123b7cb54cfbb6aff 100644 (file)
@@ -786,10 +786,12 @@ ASTNode SimplifyingNodeFactory::CreateTerm(Kind kind, unsigned int width,
                         result = NodeFactory::CreateTerm(BEEV::ITE, width, children[0], children[1][1], children[2]);
                 else if (children[0].GetKind() == BEEV::NOT)
                         result = NodeFactory::CreateTerm(BEEV::ITE, width, children[0][0], children[2], children[1]);
+/*
                 else if (children[0].GetKind() ==BEEV::EQ && children[0][1] == children[1])
                         result = NodeFactory::CreateTerm(BEEV::ITE, width, children[0], children[0][0], children[2]);
                 else if (children[0].GetKind() == BEEV::EQ && children[0][0] == children[1])
                         result = NodeFactory::CreateTerm(BEEV::ITE, width, children[0], children[0][1], children[2]);
+*/
 
                break;
        }