mirror of https://github.com/ecmwf/eccodes.git
Comments
This commit is contained in:
parent
fcccf9438f
commit
36dc5e38db
|
@ -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; i<darray->n; i++) {
|
||||
printf("darray[%ld]=%g\t", i, darray->v[i]);
|
||||
}
|
||||
|
|
|
@ -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; i<iarray->n; i++) {
|
||||
printf("iarray[%ld]=%ld\t", i, iarray->v[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue