git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@908
e59a4935-1847-0410-ae03-
e826735625c1
#ifdef _MSC_VER
#include <msvc/stdint.h>
#else
+#include "SmallPtr.h"
#include <stdint.h>
#endif //_MSC_VER
clausePoolBin(sizeof(Clause) + 2*sizeof(Lit))
{}
+ClauseAllocator::~ClauseAllocator()
+{
+ for (uint32_t i = 0; i < dataStarts.size(); i++) {
+ free(dataStarts[i]);
+ }
+}
+
template<class T>
Clause* ClauseAllocator::Clause_new(const T& ps, const unsigned int group, const bool learnt)
{
class ClauseAllocator {
public:
ClauseAllocator();
+ ~ClauseAllocator();
template<class T>
Clause* Clause_new(const T& ps, const uint group, const bool learnt = false);
#endif
if (subsumer->getNumElimed() || xorSubsumer->getNumElimed()) {
- std::cout << "c Solution needs extension. Extending." << std::endl;
+ if (verbosity >= 1) {
+ std::cout << "c Solution needs extension. Extending." << std::endl;
+ }
Solver s;
s.doSubsumption = false;
s.performReplace = false;
CryptoMiniSat
-GIT revision: d1a89e619d41131629e6c4e74f9424453225ba2d
+GIT revision: fda5b5a9d05a6b2ddfa4659671d6232173c30e0e