From 18920a6c31862f8d6c330b7ed979a82423de996b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 26 Dec 2022 13:43:18 -0800 Subject: [PATCH] sparse Multilevel_MQ_Clustering: remove duplicate 'n' This variable was shadowing another `n` in the outer scope with the same value. --- lib/sparse/mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.40.0