diff options
Diffstat (limited to 'src/base/abci/abcTiming.c')
-rw-r--r-- | src/base/abci/abcTiming.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcTiming.c b/src/base/abci/abcTiming.c index e4dd9503..50d2a9b7 100644 --- a/src/base/abci/abcTiming.c +++ b/src/base/abci/abcTiming.c @@ -1053,7 +1053,7 @@ int Abc_ObjLevelNew( Abc_Obj_t * pObj ) int i, Level = 0; Abc_ObjForEachFanin( pObj, pFanin, i ) Level = Abc_MaxFloat( Level, Abc_ObjLevel(pFanin) ); - return Level + 1; + return Level + (int)(Abc_ObjFaninNum(pObj) > 0); } /**Function************************************************************* |