diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/dar/darBalance.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aig/dar/darBalance.c b/src/aig/dar/darBalance.c index 8d97707e..6e9e7e21 100644 --- a/src/aig/dar/darBalance.c +++ b/src/aig/dar/darBalance.c @@ -253,6 +253,11 @@ int Aig_NodeCompareLevelsDecrease( Aig_Obj_t ** pp1, Aig_Obj_t ** pp2 ) return -1; if ( Diff < 0 ) return 1; + Diff = Aig_ObjId(Aig_Regular(*pp1)) - Aig_ObjId(Aig_Regular(*pp2)); + if ( Diff > 0 ) + return -1; + if ( Diff < 0 ) + return 1; return 0; } |