From: trevor_hansen Date: Thu, 26 Jan 2012 11:36:55 +0000 (+0000) Subject: Fix to the prior checkin. It was completely wrong. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=2fa48643cb7ca41e7f613bdd3acd9576b17e9e07;p=francis%2Fstp.git Fix to the prior checkin. It was completely wrong. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1528 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/to-sat/AIG/ToSATAIG.cpp b/src/to-sat/AIG/ToSATAIG.cpp index 62d5c98..5871d17 100644 --- a/src/to-sat/AIG/ToSATAIG.cpp +++ b/src/to-sat/AIG/ToSATAIG.cpp @@ -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++;