diff options
Diffstat (limited to 'src/sat/asat/solver.c')
-rw-r--r-- | src/sat/asat/solver.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sat/asat/solver.c b/src/sat/asat/solver.c index 34b4d233..6f8fe037 100644 --- a/src/sat/asat/solver.c +++ b/src/sat/asat/solver.c @@ -853,9 +853,16 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts) // reset the activities if ( s->factors ) + { + s->var_inc = 1.0; for ( i = 0; i < s->size; i++ ) + { s->activity[i] = (double)s->factors[i]; +// if ( s->orderpos[i] != -1 ) +// order_update(s, i ); + } // s->activity[i] = 1.0; + } for (;;){ clause* confl = solver_propagate(s); |