From 7ecb5a5d4552d54ed5b3a484748e3ce2dcb8011c Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 13 Jan 2025 17:33:05 +0100 Subject: [PATCH] Add some more debug output. --- src/sharedspice.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sharedspice.c b/src/sharedspice.c index 06f806334..a89faaa09 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -1169,6 +1169,9 @@ pvector_info ngGet_Vec_Info(char* vecname) { struct dvec* newvec; + if (ft_ngdebug) + fprintf(stdout, "\nGet vector info: searching for vector '%s'\n", vecname); + if (!is_initialized) { fprintf(stderr, no_init); return NULL; @@ -1186,11 +1189,11 @@ pvector_info ngGet_Vec_Info(char* vecname) newvec = vec_get(vecname); if (newvec == NULL) { - fprintf(stderr, "Error: vector %s not found!\n", vecname); + fprintf(stderr, "Warning: vector %s not or not yet available!\n", vecname); return NULL; } if (newvec->v_numdims > 1) { - fprintf(stderr, "Error: vector %s is multidimensional!\n This is not yet handled\n!", vecname); + fprintf(stderr, "Warning: vector %s is multidimensional!\n This is not yet handled\n!", vecname); return NULL; }