Commit 2f993e58 by Alan Mishchenko

Bug fix in MiniLUT code.

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