From 30a29dd2fb459d18f0146e09cd45d8a263af02fc Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 17 Jul 2022 15:24:05 -0700 Subject: [PATCH] topfish make_coarse_graph: remove unused 'nvtxs' parameter --- lib/topfish/hierarchy.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/topfish/hierarchy.c b/lib/topfish/hierarchy.c index a276abebe..f0bf86557 100644 --- a/lib/topfish/hierarchy.c +++ b/lib/topfish/hierarchy.c @@ -335,7 +335,6 @@ static void makev2cv(int *mflag, /* flag indicating vtx selected or not */ } static int make_coarse_graph(v_data * graph, /* array of vtx data for graph */ - int nvtxs, /* number of vertices in graph */ int nedges, /* number of edges in graph */ v_data ** cgp, /* coarsened version of graph */ int cnvtxs, /* number of vtxs in coarsened graph */ @@ -691,9 +690,7 @@ coarsen_match ( free(mflag); - *cnedges = - make_coarse_graph(graph, nvtxs, nedges, cgraph, cnvtxs, v2cv, - cv2v); + *cnedges = make_coarse_graph(graph, nedges, cgraph, cnvtxs, v2cv, cv2v); *cgeom_nedges = make_coarse_ex_graph(geom_graph, nvtxs, geom_nedges, cgeom_graph, cnvtxs, v2cv, cv2v); -- 2.40.0