summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/h5_vds.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/h5_vds.c b/examples/h5_vds.c
index e55f73d..7e128db 100644
--- a/examples/h5_vds.c
+++ b/examples/h5_vds.c
@@ -223,6 +223,11 @@ main (void)
free(dsetname);
free(buf);
}
+ /* EIP Initialize read buffer with -2 since fille values for VDS are not implemented yet */
+ for (i=0; i<VDSDIM0; i++) {
+ for (j=0; j<VDSDIM1; j++)
+ rdata[i][j] = -2;
+ }
/*
* Read the data using the default properties.