From 36dc5e38db821b5240aa9a8f1199324b677b8a9e Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 24 Aug 2017 10:49:17 +0100 Subject: [PATCH] Comments --- src/grib_darray.c | 4 +++- src/grib_iarray.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/grib_darray.c b/src/grib_darray.c index 77eeb71b3..ea07e7f10 100644 --- a/src/grib_darray.c +++ b/src/grib_darray.c @@ -15,11 +15,13 @@ ***************************************************************************/ #include "grib_api_internal.h" + +/* For debugging purposes */ void grib_darray_print(const char* title, const grib_darray* darray) { Assert(darray); size_t i; - printf("%s: darray.n = %ld\t", title, darray->n); + printf("%s: darray.n=%ld \t", title, darray->n); for (i=0; in; i++) { printf("darray[%ld]=%g\t", i, darray->v[i]); } diff --git a/src/grib_iarray.c b/src/grib_iarray.c index a75ff4574..8bda177a1 100644 --- a/src/grib_iarray.c +++ b/src/grib_iarray.c @@ -15,11 +15,13 @@ ***************************************************************************/ #include "grib_api_internal.h" + +/* For debugging purposes */ void grib_iarray_print(const char* title, const grib_iarray* iarray) { Assert(iarray); size_t i; - printf("%s: iarray.n = %ld\t", title, iarray->n); + printf("%s: iarray.n=%ld \t", title, iarray->n); for (i=0; in; i++) { printf("iarray[%ld]=%ld\t", i, iarray->v[i]); }