diff options
Diffstat (limited to 'src/sat/bsat')
-rw-r--r-- | src/sat/bsat/satSolver.c | 3 | ||||
-rw-r--r-- | src/sat/bsat/satSolver2.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/sat/bsat/satSolver.c b/src/sat/bsat/satSolver.c index f143916a..70feaa17 100644 --- a/src/sat/bsat/satSolver.c +++ b/src/sat/bsat/satSolver.c @@ -317,7 +317,8 @@ static inline void act_var_rescale(sat_solver* s) { static inline void act_clause_rescale(sat_solver* s) { static int Total = 0; clause** cs = (clause**)vecp_begin(&s->learnts); - int i, clk = clock(); + int i; + clock_t clk = clock(); for (i = 0; i < vecp_size(&s->learnts); i++){ unsigned a = clause_activity2(cs[i]); clause_setactivity2(cs[i], a >> 14); diff --git a/src/sat/bsat/satSolver2.c b/src/sat/bsat/satSolver2.c index cbe6bc52..573c1d35 100644 --- a/src/sat/bsat/satSolver2.c +++ b/src/sat/bsat/satSolver2.c @@ -294,7 +294,8 @@ static inline void act_var_rescale(sat_solver2* s) { static inline void act_clause_rescale(sat_solver2* s) { static int Total = 0; float * claActs = (float *)veci_begin(&s->claActs); - int i, clk = clock(); + int i; + clock_t clk = clock(); for (i = 0; i < veci_size(&s->claActs); i++) claActs[i] *= (float)1e-20; s->cla_inc *= (float)1e-20; |