From: trevor_hansen Date: Sat, 7 Aug 2010 13:33:28 +0000 (+0000) Subject: Bugfix. --output-CNF was broken when outputting with Cryptominisat. A signed / unsign... X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=215869a2936f322008433de71dabd2bd22fbde4e;p=francis%2Fstp.git Bugfix. --output-CNF was broken when outputting with Cryptominisat. A signed / unsigned problem. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@972 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/to-sat/ToSAT.cpp b/src/to-sat/ToSAT.cpp index 3c58272..27df312 100644 --- a/src/to-sat/ToSAT.cpp +++ b/src/to-sat/ToSAT.cpp @@ -226,7 +226,7 @@ namespace BEEV MINISAT::Var v = it->second; if (negate) - file << -(v + 1) << " "; + file << "-" << (v + 1) << " "; else file << (v + 1) << " "; }