diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-26 17:10:37 -0500 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-26 17:10:37 -0500 |
commit | 12253f47cee3bf04909363cc78aeaecb94b0556f (patch) | |
tree | 2cd20b5d5170461629df6c1ab18e21ad26073efe /src/aig/gia/giaUtil.c | |
parent | c98119594e4137dee341d171a5ad3b3d647a279e (diff) | |
download | abc-12253f47cee3bf04909363cc78aeaecb94b0556f.tar.gz abc-12253f47cee3bf04909363cc78aeaecb94b0556f.tar.bz2 abc-12253f47cee3bf04909363cc78aeaecb94b0556f.zip |
User-controlable SAT sweeper.
Diffstat (limited to 'src/aig/gia/giaUtil.c')
-rw-r--r-- | src/aig/gia/giaUtil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/aig/gia/giaUtil.c b/src/aig/gia/giaUtil.c index a7f594e4..5adf9ebd 100644 --- a/src/aig/gia/giaUtil.c +++ b/src/aig/gia/giaUtil.c @@ -461,15 +461,15 @@ int Gia_ManLevelNum( Gia_Man_t * p ) Gia_ManCleanLevels( p, Gia_ManObjNum(p) ); p->nLevels = 0; Gia_ManForEachObj( p, pObj, i ) + { if ( Gia_ObjIsAnd(pObj) ) Gia_ObjSetAndLevel( p, pObj ); else if ( Gia_ObjIsCo(pObj) ) - { Gia_ObjSetCoLevel( p, pObj ); - p->nLevels = Abc_MaxInt( p->nLevels, Gia_ObjLevel(p, pObj) ); - } else Gia_ObjSetLevel( p, pObj, 0 ); + p->nLevels = Abc_MaxInt( p->nLevels, Gia_ObjLevel(p, pObj) ); + } return p->nLevels; } |