]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. --output-CNF was broken when outputting with Cryptominisat. A signed / unsign...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sat, 7 Aug 2010 13:33:28 +0000 (13:33 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sat, 7 Aug 2010 13:33:28 +0000 (13:33 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@972 e59a4935-1847-0410-ae03-e826735625c1

src/to-sat/ToSAT.cpp

index 3c58272deef4f856c08eb0d6a537cb7db21d0f72..27df312c1a36571c11ce7fd395ea3e68cfe3c7a2 100644 (file)
@@ -226,7 +226,7 @@ namespace BEEV
                    MINISAT::Var v = it->second;
 
                                if (negate)
-                                       file << -(v + 1) << " ";
+                                       file << "-" << (v + 1) << " ";
                                else
                                        file << (v + 1) << " ";
                        }