From cee336f7b16f72825965cee136456302be89f0cf Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 20 Dec 2021 08:07:45 -0800 Subject: [PATCH] remove unused 'final_energy' --- lib/neatogen/neatoprocs.h | 1 - lib/neatogen/stuff.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/lib/neatogen/neatoprocs.h b/lib/neatogen/neatoprocs.h index c09221911..baa252b7b 100644 --- a/lib/neatogen/neatoprocs.h +++ b/lib/neatogen/neatoprocs.h @@ -32,7 +32,6 @@ extern "C" { NEATOPROCS_API int checkStart(graph_t * G, int nG, int); NEATOPROCS_API int circuit_model(graph_t *, int); NEATOPROCS_API void diffeq_model(graph_t *, int); - NEATOPROCS_API void final_energy(graph_t *, int); NEATOPROCS_API double fpow32(double); NEATOPROCS_API Ppolyline_t getPath(edge_t *, vconfig_t *, int, Ppoly_t **, int); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index 88558ce32..28156a9df 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -510,12 +510,6 @@ static void D2E(graph_t * G, int nG, int n, double *M) Msub(k, l) = Msub(l, k); } -void final_energy(graph_t * G, int nG) -{ - fprintf(stderr, "iterations = %d final e = %f\n", GD_move(G), - total_e(G, nG)); -} - node_t *choose_node(graph_t * G, int nG) { int i, k; -- 2.40.0