From: Matthew Fernandez Date: Sat, 26 Nov 2022 17:39:04 +0000 (-0800) Subject: sfdpgen spring_electrical_embedding_slow: remove 'qtree_cpu' that is always 0 X-Git-Tag: 7.0.4~4^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e760ae3757204b642800287227b9915428fe22be;p=graphviz sfdpgen spring_electrical_embedding_slow: remove 'qtree_cpu' that is always 0 --- diff --git a/lib/sfdpgen/spring_electrical.c b/lib/sfdpgen/spring_electrical.c index 80c625359..75aa793a7 100644 --- a/lib/sfdpgen/spring_electrical.c +++ b/lib/sfdpgen/spring_electrical.c @@ -663,7 +663,6 @@ static void spring_electrical_embedding_slow(int dim, SparseMatrix A0, spring_el double *force; #ifdef TIME clock_t start, end, start0, start2; - double qtree_cpu = 0; double total_cpu = 0; start0 = clock(); #endif @@ -812,7 +811,7 @@ static void spring_electrical_embedding_slow(int dim, SparseMatrix A0, spring_el #ifdef TIME total_cpu += ((double) (clock() - start0)) / CLOCKS_PER_SEC; - if (Verbose) fprintf(stderr, "time for supernode = %f, total cpu = %f\n",qtree_cpu, total_cpu); + if (Verbose) fprintf(stderr, "time for supernode = 0, total cpu = %f\n", total_cpu); #endif RETURN: