Commit 14f76195 by Alan Mishchenko

Fix to return equiv classes after improving &iso.

parent 50df0813
......@@ -678,7 +678,6 @@ Gia_Man_t * Gia_ManIsoReduce2( Gia_Man_t * pGia, Vec_Ptr_t ** pvPosEquivs, Vec_P
printf( "Reduced %d outputs to %d equivalence classes (%d outputs are in %d non-trivial classes). ",
Gia_ManPoNum(pGia), Vec_WecSize(vEquivs), nUsedPos, nClasses );
Abc_PrintTime( 1, "Time", clock() - clk );
Vec_WecFree( vEquivs );
if ( fVerbose )
{
printf( "Nontrivial classes:\n" );
......@@ -688,6 +687,7 @@ Gia_Man_t * Gia_ManIsoReduce2( Gia_Man_t * pGia, Vec_Ptr_t ** pvPosEquivs, Vec_P
*pvPiPerms = NULL;
if ( pvPosEquivs )
*pvPosEquivs = Vec_WecConvertToVecPtr( vEquivs );
Vec_WecFree( vEquivs );
// Gia_ManStopP( &pPart );
return pPart;
}
......
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