From: Matthew Fernandez Date: Mon, 26 Dec 2022 21:43:18 +0000 (-0800) Subject: sparse Multilevel_MQ_Clustering: remove duplicate 'n' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18920a6c31862f8d6c330b7ed979a82423de996b;p=graphviz sparse Multilevel_MQ_Clustering: remove duplicate 'n' This variable was shadowing another `n` in the outer scope with the same value. --- diff --git a/lib/sparse/mq.c b/lib/sparse/mq.c index 6bf2ac17c..2ee63c686 100644 --- a/lib/sparse/mq.c +++ b/lib/sparse/mq.c @@ -175,7 +175,7 @@ static Multilevel_MQ_Clustering Multilevel_MQ_Clustering_init(SparseMatrix A, in if (level == 0){ double mq = 0, mq_in, mq_out; - int n = A->n, ncluster; + int ncluster; double *deg_intra, *wgt, *dout; grid->deg_intra = MALLOC(sizeof(double)*(n));