From 4dcf8cee2d466f51abb83d342837febd4e4ba6cb Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 27 Mar 2011 11:35:31 -0700 Subject: Improvements in Vec_Vec_t. --- src/opt/res/resWin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opt') 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 ); -- cgit v1.2.3