diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-12-16 21:48:16 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-12-16 21:48:16 -0800 |
commit | c5162ba6d2ddc5b31a65615902aee0241f62829b (patch) | |
tree | ffa67d92851b931abbcd17269870607a346c3c56 /src/base | |
parent | e658da711cedb8e78e0a29e60a042dbfc7231523 (diff) | |
download | abc-c5162ba6d2ddc5b31a65615902aee0241f62829b.tar.gz abc-c5162ba6d2ddc5b31a65615902aee0241f62829b.tar.bz2 abc-c5162ba6d2ddc5b31a65615902aee0241f62829b.zip |
Induced bug with in DFS computation.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/abc/abcDfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abc/abcDfs.c b/src/base/abc/abcDfs.c index 2cde0215..1825087e 100644 --- a/src/base/abc/abcDfs.c +++ b/src/base/abc/abcDfs.c @@ -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 ); |