From 596bbbe6dc3f8311a5166269d651d50ec6b2dff8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 19 Feb 2012 13:16:51 -0800 Subject: Added QuickSort based on 3-way partitioning. --- src/aig/saig/saigIsoFast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aig/saig/saigIsoFast.c') diff --git a/src/aig/saig/saigIsoFast.c b/src/aig/saig/saigIsoFast.c index a415dcc8..befbf934 100644 --- a/src/aig/saig/saigIsoFast.c +++ b/src/aig/saig/saigIsoFast.c @@ -219,7 +219,7 @@ Vec_Int_t * Iso_StoCollectInfo( Iso_Sto_t * p, Aig_Obj_t * pPo ) // printf( "%d ", Vec_IntSize(p->vVisited) ); // sort the costs in the increasing order - pPerm = Abc_SortCost( Vec_IntArray(p->vVisited), Vec_IntSize(p->vVisited) ); + pPerm = Abc_MergeSortCost( Vec_IntArray(p->vVisited), Vec_IntSize(p->vVisited) ); assert( Vec_IntEntry(p->vVisited, pPerm[0]) <= Vec_IntEntry(p->vVisited, pPerm[Vec_IntSize(p->vVisited)-1]) ); // create information -- cgit v1.2.3