Bug fix in PDR.

This commit is contained in:
Alan Mishchenko 2013-09-16 08:49:37 -07:00
parent 5d2dc04144
commit e87f0dd679
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ Pdr_Man_t * Pdr_ManStart( Aig_Man_t * pAig, Pdr_Par_t * pPars, Vec_Int_t * vPrio
p->pOrder = ABC_ALLOC( int, Aig_ManRegNum(pAig) );
p->vActVars = Vec_IntAlloc( 256 );
if ( !p->pPars->fMonoCnf )
p->vVLits = Vec_WecStart( Aig_ManLevels(pAig) );
p->vVLits = Vec_WecStart( Abc_MaxInt(1, Aig_ManLevels(pAig)) );
// internal use
p->vPrio = vPrioInit ? vPrioInit : Vec_IntStart( Aig_ManRegNum(pAig) ); // priority flops
p->vLits = Vec_IntAlloc( 100 ); // array of literals