]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. Remove a null pointer reference.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 7 Jul 2010 13:33:08 +0000 (13:33 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Wed, 7 Jul 2010 13:33:08 +0000 (13:33 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@936 e59a4935-1847-0410-ae03-e826735625c1

src/to-sat/AIG/ToSATAIG.cpp

index 88c21dfe9c4b2e2c127cb9e2c9613fbcf7b170e6..3adf1e95ef2b93396cfe0ee45f7b2caf3f5097f8 100644 (file)
@@ -41,7 +41,8 @@ namespace BEEV
       */
 
       //Clear out all the constant bit stuff before sending the SAT.
-      cb->clearTables();
+      if (cb != NULL)
+         cb->clearTables();
 
       bm->GetRunTimes()->start(RunTimes::SendingToSAT);