]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Fix to the prior checkin. It was completely wrong.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 26 Jan 2012 11:36:55 +0000 (11:36 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 26 Jan 2012 11:36:55 +0000 (11:36 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1528 e59a4935-1847-0410-ae03-e826735625c1

src/to-sat/AIG/ToSATAIG.cpp

index 62d5c9843e44efad2fff15532804b4943e3ae8d0..5871d176eb944caffa4818f63ed23ac3b5923c9b 100644 (file)
@@ -113,7 +113,7 @@ namespace BEEV
       // This releases the memory used by the CNF generator, particularly some data tables.
       // If CNF generation is going to be called lots, we'd rather keep it around.
       // because the datatables are expensive to generate.
-       if (cnf_calls != 0)
+       if (cnf_calls == 0)
            Cnf_ClearMemory();
 
        cnf_calls++;