Induced bug with in DFS computation.

This commit is contained in:
Alan Mishchenko 2014-12-16 21:48:16 -08:00
parent e658da711c
commit c5162ba6d2
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ Vec_Ptr_t * Abc_NtkDfs( Abc_Ntk_t * pNtk, int fCollectAll )
vNodes = Vec_PtrAlloc( 100 );
Abc_NtkForEachObj( pNtk, pObj, i )
{
if ( !Abc_ObjIsCo(pObj) || !Abc_ObjIsBarBuf(pObj) )
if ( !Abc_ObjIsCo(pObj) && !Abc_ObjIsBarBuf(pObj) )
continue;
Abc_NodeSetTravIdCurrent( pObj );
Abc_NtkDfs_rec( Abc_ObjFanin0Ntk(Abc_ObjFanin0(pObj)), vNodes );