Bug fix in &bmcs.

This commit is contained in:
Alan Mishchenko 2017-08-16 15:20:34 +07:00
parent 7365052411
commit efa9654634
1 changed files with 3 additions and 3 deletions

View File

@ -386,14 +386,14 @@ Bmcs_Man_t * Bmcs_ManStart( Gia_Man_t * pGia, Bmc_AndPar_t * pPars )
opts.garbage_max_ratio = (float) 0.3 + i * 0.05;
// create SAT solvers
p->pSats[i] = bmc_sat_solver_start( i );
bmc_sat_solver_addvar( p->pSats[i] );
bmc_sat_solver_addclause( p->pSats[i], &Lit, 1 );
bmc_sat_solver_setstop( p->pSats[i], &p->fStopNow );
#ifdef ABC_USE_EXT_SOLVERS
p->pSats[i]->SolverType = i;
#else
satoko_configure(p->pSats[i], &opts);
#endif
bmc_sat_solver_addvar( p->pSats[i] );
bmc_sat_solver_addclause( p->pSats[i], &Lit, 1 );
bmc_sat_solver_setstop( p->pSats[i], &p->fStopNow );
}
p->nSatVars = 1;
return p;