diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-03-27 11:35:31 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-03-27 11:35:31 -0700 |
commit | 4dcf8cee2d466f51abb83d342837febd4e4ba6cb (patch) | |
tree | acd169e65a285269a2051060bd886127555e05d8 /src/opt/res | |
parent | d97e5d680391ee4346d86451594df746167698aa (diff) | |
download | abc-4dcf8cee2d466f51abb83d342837febd4e4ba6cb.tar.gz abc-4dcf8cee2d466f51abb83d342837febd4e4ba6cb.tar.bz2 abc-4dcf8cee2d466f51abb83d342837febd4e4ba6cb.zip |
Improvements in Vec_Vec_t.
Diffstat (limited to 'src/opt/res')
-rw-r--r-- | src/opt/res/resWin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opt/res/resWin.c b/src/opt/res/resWin.c index a26e7831..e6eeac6a 100644 --- a/src/opt/res/resWin.c +++ b/src/opt/res/resWin.c @@ -114,7 +114,7 @@ int Res_WinCollectLeavesAndNodes( Res_Win_t * p ) // collect the leaves (nodes pTemp such that "p->pNode->Level - pTemp->Level > p->nWinTfiMax") Vec_PtrClear( p->vLeaves ); - Vec_VecForEachLevelStartStop( p->vMatrix, vFront, i, 0, p->nWinTfiMax ) + Vec_VecForEachLevelStartStop( p->vMatrix, vFront, i, 0, p->nWinTfiMax+1 ) { Vec_PtrForEachEntry( Abc_Obj_t *, vFront, pObj, k ) { @@ -135,7 +135,7 @@ int Res_WinCollectLeavesAndNodes( Res_Win_t * p ) // collect the nodes in the reverse order Vec_PtrClear( p->vNodes ); - Vec_VecForEachLevelReverseStartStop( p->vMatrix, vFront, i, p->nWinTfiMax, 0 ) + Vec_VecForEachLevelReverseStartStop( p->vMatrix, vFront, i, p->nWinTfiMax+1, 0 ) { Vec_PtrForEachEntry( Abc_Obj_t *, vFront, pObj, k ) Vec_PtrPush( p->vNodes, pObj ); |