Commit 140fd9ad by Alan Mishchenko

Bug fix in the sweeper.

parent 421362f7
...@@ -757,6 +757,8 @@ static Vec_Int_t * Gia_ManGetCex( Gia_Man_t * pGia, Vec_Int_t * vId2Lit, sat_sol ...@@ -757,6 +757,8 @@ static Vec_Int_t * Gia_ManGetCex( Gia_Man_t * pGia, Vec_Int_t * vId2Lit, sat_sol
Vec_IntClear( vCex ); Vec_IntClear( vCex );
Gia_ManForEachPi( pGia, pObj, i ) Gia_ManForEachPi( pGia, pObj, i )
{ {
if ( Gia_ObjId(pGia, pObj) >= Vec_IntSize(vId2Lit) )
continue;
LitSat = Vec_IntEntry( vId2Lit, Gia_ObjId(pGia, pObj) ); LitSat = Vec_IntEntry( vId2Lit, Gia_ObjId(pGia, pObj) );
if ( LitSat == 0 ) if ( LitSat == 0 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment