diff options
-rw-r--r-- | src/aig/gia/giaIso2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aig/gia/giaIso2.c b/src/aig/gia/giaIso2.c index 79e0bb10..ef5dbf42 100644 --- a/src/aig/gia/giaIso2.c +++ b/src/aig/gia/giaIso2.c @@ -668,6 +668,8 @@ Gia_Man_t * Gia_ManIsoReduce2( Gia_Man_t * pGia, Vec_Ptr_t ** pvPosEquivs, Vec_P vEquivs2 = Gia_Iso2ManCheckIsoClasses( pGia, vEquivs ); Vec_WecFree( vEquivs ); vEquivs = vEquivs2; + // sort equiv classes by the first integer + Vec_WecSortByFirstInt( vEquivs, 0 ); // find the first outputs vRemains = Vec_WecCollectFirsts( vEquivs ); // derive the final GIA |