Commit 4aff2d13 by Alan Mishchenko

C++ compiler errors.

parent 13ee4998
...@@ -65,7 +65,7 @@ void Abc_NtkOrderFanins( Abc_Ntk_t * pNtk ) ...@@ -65,7 +65,7 @@ void Abc_NtkOrderFanins( Abc_Ntk_t * pNtk )
Vec_IntPush( vOrder, v ); Vec_IntPush( vOrder, v );
pOrder = Vec_IntArray(vOrder); pOrder = Vec_IntArray(vOrder);
Vec_IntSelectSortCost( pOrder, nVars, &pNode->vFanins ); Vec_IntSelectSortCost( pOrder, nVars, &pNode->vFanins );
pSopNew = pCubeNew = Abc_SopStart( pNtk->pManFunc, Abc_SopGetCubeNum(pSop), nVars ); pSopNew = pCubeNew = Abc_SopStart( (Mem_Flex_t *)pNtk->pManFunc, Abc_SopGetCubeNum(pSop), nVars );
Abc_SopForEachCube( pSop, nVars, pCube ) Abc_SopForEachCube( pSop, nVars, pCube )
{ {
for ( v = 0; v < nVars; v++ ) for ( v = 0; v < nVars; v++ )
...@@ -205,7 +205,7 @@ void Abc_NtkFxInsert( Abc_Ntk_t * pNtk, Vec_Wec_t * vCubes ) ...@@ -205,7 +205,7 @@ void Abc_NtkFxInsert( Abc_Ntk_t * pNtk, Vec_Wec_t * vCubes )
} }
} }
// create SOP // create SOP
pSop = pCube = Abc_SopStart( pNtk->pManFunc, Vec_IntEntry(vCount, i), Abc_ObjFaninNum(pNode) ); pSop = pCube = Abc_SopStart( (Mem_Flex_t *)pNtk->pManFunc, Vec_IntEntry(vCount, i), Abc_ObjFaninNum(pNode) );
for ( k = 0; k < Vec_IntEntry(vCount, i); k++ ) for ( k = 0; k < Vec_IntEntry(vCount, i); k++ )
{ {
vCube = Vec_WecEntry( vCubes, Vec_IntEntry(vFirst, i) + k ); vCube = Vec_WecEntry( vCubes, Vec_IntEntry(vFirst, i) + k );
......
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