mirror of https://github.com/YosysHQ/abc.git
Bug fix in the sweeper.
This commit is contained in:
parent
421362f709
commit
140fd9ad9f
|
|
@ -757,6 +757,8 @@ static Vec_Int_t * Gia_ManGetCex( Gia_Man_t * pGia, Vec_Int_t * vId2Lit, sat_sol
|
|||
Vec_IntClear( vCex );
|
||||
Gia_ManForEachPi( pGia, pObj, i )
|
||||
{
|
||||
if ( Gia_ObjId(pGia, pObj) >= Vec_IntSize(vId2Lit) )
|
||||
continue;
|
||||
LitSat = Vec_IntEntry( vId2Lit, Gia_ObjId(pGia, pObj) );
|
||||
if ( LitSat == 0 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue