From a7c16ffa3743fca485840ecc1f041b304e0772b9 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 19:10:06 +0000 Subject: [PATCH] Add mode field to neato verbose mode; use #include in gvc.c for VERSION and BUILDDATE --- lib/gvc/gvc.c | 3 +++ lib/neatogen/neatoinit.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/gvc/gvc.c b/lib/gvc/gvc.c index 09cd2ca39..68bf4763a 100644 --- a/lib/gvc/gvc.c +++ b/lib/gvc/gvc.c @@ -13,6 +13,9 @@ * Information and Software Systems Research * * AT&T Research, Florham Park NJ * **********************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifdef HAVE_CONFIG_H #include "config.h" diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index 6a0d7ba73..39a8530ce 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -1022,8 +1022,8 @@ majorization(graph_t * g, int nv, int mode, int model, int dim, int steps) coords[i] = coords[0] + i * nv; } if (Verbose) { - fprintf(stderr, "model %d smart_init %d iterations %d tol %f\n", - model, (init == INIT_SELF), MaxIter, Epsilon); + fprintf(stderr, "mode %d model %d smart_init %d iterations %d tol %f\n", + mode, model, (init == INIT_SELF), MaxIter, Epsilon); fprintf(stderr, "convert graph: "); start_timer(); } -- 2.50.1