Fixing a typo bug Vec_IntStart instead of Vec_IntAlloc.

This commit is contained in:
Alan Mishchenko 2011-03-08 17:32:38 -08:00
parent badbb5a6cc
commit eabc42a2d8
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ Vec_Int_t * Abc_NtkMapGiaIntoNameId( Abc_Ntk_t * pNetlist, Aig_Man_t * pAig, Gia
Abc_Obj_t * pNet, * pNode, * pAnd;
Aig_Obj_t * pObjAig;
int i;
vId2Name = Vec_IntStart( 0 );
vId2Name = Vec_IntAlloc( 0 );
Vec_IntFill( vId2Name, pGia ? Gia_ManObjNum(pGia) : Aig_ManObjNumMax(pAig), ~0 );
// copy all names
Abc_NtkForEachNet( pNetlist, pNet, i )