summaryrefslogtreecommitdiffstats
path: root/src/aig/aig/aigTiming.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/aig/aigTiming.c')
-rw-r--r--src/aig/aig/aigTiming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/aig/aigTiming.c b/src/aig/aig/aigTiming.c
index 14ee4f2c..a5da4513 100644
--- a/src/aig/aig/aigTiming.c
+++ b/src/aig/aig/aigTiming.c
@@ -147,7 +147,7 @@ void Aig_ManStartReverseLevels( Aig_Man_t * p, int nMaxLevelIncrease )
p->nLevelMax = Aig_ManLevels(p) + nMaxLevelIncrease;
// start the reverse levels
p->vLevelR = Vec_IntAlloc( 0 );
- Vec_IntFill( p->vLevelR, 1 + Aig_ManObjIdMax(p), 0 );
+ Vec_IntFill( p->vLevelR, Aig_ManObjNumMax(p), 0 );
// compute levels in reverse topological order
vNodes = Aig_ManDfsReverse( p );
Vec_PtrForEachEntry( vNodes, pObj, i )