summaryrefslogtreecommitdiffstats
path: root/src/aig/nwk/nwkDfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/nwk/nwkDfs.c')
-rw-r--r--src/aig/nwk/nwkDfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/nwk/nwkDfs.c b/src/aig/nwk/nwkDfs.c
index ed19f71a..90bab0dc 100644
--- a/src/aig/nwk/nwkDfs.c
+++ b/src/aig/nwk/nwkDfs.c
@@ -267,8 +267,8 @@ Vec_Vec_t * Nwk_ManLevelize( Nwk_Man_t * pNtk )
vLevels = Vec_VecStart( nLevels + 1 );
Nwk_ManForEachNode( pNtk, pObj, i )
{
- assert( (int)pObj->tArrival <= nLevels );
- Vec_VecPush( vLevels, (int)pObj->tArrival, pObj );
+ assert( Nwk_ObjLevel(pObj) <= nLevels );
+ Vec_VecPush( vLevels, Nwk_ObjLevel(pObj), pObj );
}
return vLevels;
}