Bug fix in MiniLUT code.

This commit is contained in:
Alan Mishchenko 2021-09-13 08:40:44 -07:00
parent d3d5644005
commit 2f993e583d
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ int * Abc_FrameReadMiniLutSwitching( Abc_Frame_t * pAbc )
pRes = ABC_CALLOC( int, Vec_IntSize(pAbc->vCopyMiniLut) );
Vec_IntForEachEntry( pAbc->vCopyMiniLut, iObj, i )
if ( iObj >= 0 )
pRes[i] = Vec_IntEntry( vSwitching, iObj );
pRes[i] = Vec_IntEntry( vSwitching, Abc_Lit2Var(iObj) );
Vec_IntFree( vSwitching );
return pRes;
}