summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2015-03-24 23:02:37 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2015-03-24 23:02:37 (GMT)
commitb8551d25ccecf49e3541b0087b8649f0ef572b54 (patch)
tree4949bb9d987ce55339768d4dc80daf9b98a2d8b9 /examples
parentdd5a13708383634f052ba2c85c8dab21993c6a35 (diff)
downloadhdf5-b8551d25ccecf49e3541b0087b8649f0ef572b54.zip
hdf5-b8551d25ccecf49e3541b0087b8649f0ef572b54.tar.gz
hdf5-b8551d25ccecf49e3541b0087b8649f0ef572b54.tar.bz2
[svn-r26565] Since fill values for VDS do not work at this point initialized the read buffer to show
that VDS data is read correctly, leaving unmapped data untouched. Tested on jam.
Diffstat (limited to 'examples')
-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.