From: trevor_hansen Date: Fri, 8 Apr 2011 04:33:28 +0000 (+0000) Subject: Improvement. Don't add NOT FALSE at the end of the input.. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0bce223e187659226b80da3e315161c9bf787267;p=francis%2Fstp.git Improvement. Don't add NOT FALSE at the end of the input.. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1259 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/STPManager/STP.cpp b/src/STPManager/STP.cpp index 5ca0883..c99eb24 100644 --- a/src/STPManager/STP.cpp +++ b/src/STPManager/STP.cpp @@ -29,9 +29,14 @@ namespace BEEV { SOLVER_RETURN_TYPE STP::TopLevelSTP(const ASTNode& inputasserts, const ASTNode& query) { - ASTNode original_input = bm->CreateNode(AND, + ASTNode original_input; + + if (query != bm->ASTFalse) + original_input = bm->CreateNode(AND, inputasserts, bm->CreateNode(NOT, query)); + else + original_input = inputasserts; //solver instantiated here //#if defined CRYPTOMINISAT2