Commit 2f46b56a by Alan Mishchenko

Bug fix in the sweeper.

parent f39369a4
...@@ -758,7 +758,10 @@ static Vec_Int_t * Gia_ManGetCex( Gia_Man_t * pGia, Vec_Int_t * vId2Lit, sat_sol ...@@ -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 ) Gia_ManForEachPi( pGia, pObj, i )
{ {
if ( Gia_ObjId(pGia, pObj) >= Vec_IntSize(vId2Lit) ) if ( Gia_ObjId(pGia, pObj) >= Vec_IntSize(vId2Lit) )
{
Vec_IntPush( vCex, 2 );
continue; 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