diff options
| author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-05-10 02:41:54 +0700 | 
|---|---|---|
| committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-05-10 02:41:54 +0700 | 
| commit | 2f46b56ae60bc74175f1df525c1be46a12072357 (patch) | |
| tree | a9be6f51683bd8ae56b65d22d03ed8b4ace835a7 | |
| parent | f39369a415ab3fc7d23b8a4994f31be2e3ebefe6 (diff) | |
| download | abc-2f46b56ae60bc74175f1df525c1be46a12072357.tar.gz abc-2f46b56ae60bc74175f1df525c1be46a12072357.tar.bz2 abc-2f46b56ae60bc74175f1df525c1be46a12072357.zip | |
Bug fix in the sweeper.
| -rw-r--r-- | src/aig/gia/giaSweeper.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/aig/gia/giaSweeper.c b/src/aig/gia/giaSweeper.c index 735abf30..b4a53f44 100644 --- a/src/aig/gia/giaSweeper.c +++ b/src/aig/gia/giaSweeper.c @@ -758,7 +758,10 @@ static Vec_Int_t * Gia_ManGetCex( Gia_Man_t * pGia, Vec_Int_t * vId2Lit, sat_sol      Gia_ManForEachPi( pGia, pObj, i )      {          if ( Gia_ObjId(pGia, pObj) >= Vec_IntSize(vId2Lit) ) +        { +            Vec_IntPush( vCex, 2 );              continue; +        }          LitSat = Vec_IntEntry( vId2Lit, Gia_ObjId(pGia, pObj) );          if ( LitSat == 0 )          { | 
