diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-01-26 16:47:53 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-01-26 16:47:53 (GMT) |
commit | 4395b6378c85ecd5953ac32e28aa41afba2da6be (patch) | |
tree | 7cf193ec2a689af7709c1ffd8f428cb29a2bf66a /test/cross_read.c | |
parent | fee00328e7eb104b1ec75fda6caf5c8513708599 (diff) | |
download | hdf5-4395b6378c85ecd5953ac32e28aa41afba2da6be.zip hdf5-4395b6378c85ecd5953ac32e28aa41afba2da6be.tar.gz hdf5-4395b6378c85ecd5953ac32e28aa41afba2da6be.tar.bz2 |
[svn-r19998] I changed the previous commit from FLOAT to DOUBLE again because Neil prefers to it for fill value test. I
updated the data files, too.
Tested on linew and jam.
Diffstat (limited to 'test/cross_read.c')
-rwxr-xr-x | test/cross_read.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cross_read.c b/test/cross_read.c index 339ecb2..78d6e7e 100755 --- a/test/cross_read.c +++ b/test/cross_read.c @@ -32,7 +32,7 @@ const char *FILENAME[] = { }; #define DATASETNAME "Array" -#define DATASETNAME2 "Scale_offset_float_data" +#define DATASETNAME2 "Scale_offset_double_data" #define DATASETNAME3 "Scale_offset_int_data" #define NX 6 #define NY 6 @@ -145,7 +145,7 @@ static int read_data(char *fname) PASSED(); - TESTING(" dataset of FLOAT with scale-offset filter"); + TESTING(" dataset of DOUBLE with scale-offset filter"); #ifdef TMP #ifdef H5_HAVE_FILTER_SCALEOFFSET /* @@ -159,7 +159,7 @@ static int read_data(char *fname) */ for (j = 0; j < NX; j++) { for (i = 0; i < NY; i++) { - data_in[j][i] = ((float)(i + j + 1))/3; + data_in[j][i] = ((double)(i + j + 1))/3; data_out[j][i] = 0; } } |