Commit 719396a2 by Alan Mishchenko

Silencing warnings.

parent da02d5aa
...@@ -113,10 +113,11 @@ static inline double Sat_MemMemoryAll( Sat_Mem_t * p ) { return 1. ...@@ -113,10 +113,11 @@ static inline double Sat_MemMemoryAll( Sat_Mem_t * p ) { return 1.
// k is page offset // k is page offset
// this macro has to be fixed (Sat_MemClauseSize does not work for problem clauses in proof mode) // this macro has to be fixed (Sat_MemClauseSize does not work for problem clauses in proof mode)
//#define Sat_MemForEachClause( p, c, i, k ) \ /*
// for ( i = 0; i <= p->iPage[0]; i += 2 ) \ #define Sat_MemForEachClause( p, c, i, k ) \
// for ( k = 2; k < Sat_MemLimit(p->pPages[i]) && ((c) = Sat_MemClause( p, i, k )); k += Sat_MemClauseSize(c) ) for ( i = 0; i <= p->iPage[0]; i += 2 ) \
for ( k = 2; k < Sat_MemLimit(p->pPages[i]) && ((c) = Sat_MemClause( p, i, k )); k += Sat_MemClauseSize(c) )
*/
#define Sat_MemForEachLearned( p, c, i, k ) \ #define Sat_MemForEachLearned( p, c, i, k ) \
for ( i = 1; i <= p->iPage[1]; i += 2 ) \ for ( i = 1; i <= p->iPage[1]; i += 2 ) \
for ( k = 2; k < Sat_MemLimit(p->pPages[i]) && ((c) = Sat_MemClause( p, i, k )); k += Sat_MemClauseSize(c) ) for ( k = 2; k < Sat_MemLimit(p->pPages[i]) && ((c) = Sat_MemClause( p, i, k )); k += Sat_MemClauseSize(c) )
......
...@@ -30,8 +30,6 @@ ABC_NAMESPACE_IMPL_START ...@@ -30,8 +30,6 @@ ABC_NAMESPACE_IMPL_START
#define SAT_USE_PROOF_LOGGING #define SAT_USE_PROOF_LOGGING
static int Time = 0;
//================================================================================================= //=================================================================================================
// Debug: // Debug:
...@@ -1359,7 +1357,7 @@ void sat_solver2_reducedb(sat_solver2* s) ...@@ -1359,7 +1357,7 @@ void sat_solver2_reducedb(sat_solver2* s)
int nLearnedOld = veci_size(&s->act_clas); int nLearnedOld = veci_size(&s->act_clas);
int * act_clas = veci_begin(&s->act_clas); int * act_clas = veci_begin(&s->act_clas);
int * pPerm, * pSortValues, nCutoffValue, * pClaProofs; int * pPerm, * pSortValues, nCutoffValue, * pClaProofs;
int i, j, k, Id, nSelected, LastSize = 0; int i, j, k, Id, nSelected;//, LastSize = 0;
int Counter, CounterStart; int Counter, CounterStart;
clock_t clk = clock(); clock_t clk = clock();
static int Count = 0; static int Count = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment