diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2015-03-24 23:02:37 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2015-03-24 23:02:37 (GMT) |
commit | b8551d25ccecf49e3541b0087b8649f0ef572b54 (patch) | |
tree | 4949bb9d987ce55339768d4dc80daf9b98a2d8b9 | |
parent | dd5a13708383634f052ba2c85c8dab21993c6a35 (diff) | |
download | hdf5-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.
-rw-r--r-- | examples/h5_vds.c | 5 |
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. |