summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-05-31 16:20:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-05-31 16:20:03 (GMT)
commit862520b80e8e1b29f5b5a719b40506e348c2ee47 (patch)
tree365627961a666827bc9abf55ed024a60becf3c39 /test
parent263ff3e4fd0f7de2408cac298c3d4985777b63bc (diff)
downloadhdf5-862520b80e8e1b29f5b5a719b40506e348c2ee47.zip
hdf5-862520b80e8e1b29f5b5a719b40506e348c2ee47.tar.gz
hdf5-862520b80e8e1b29f5b5a719b40506e348c2ee47.tar.bz2
[svn-r6941] Purpose:
Code cleanup Description: Clean up older settings for strides of hyperslabs Platforms tested: h5committestted (although Fortran tests failed for some reason)
Diffstat (limited to 'test')
-rw-r--r--test/trefer.c2
-rw-r--r--test/tselect.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/test/trefer.c b/test/trefer.c
index 688b9d4..7b1b296 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -380,7 +380,7 @@ test_reference_region(void)
/* Select 6x6 hyperslab for first reference */
start[0]=2; start[1]=2;
- stride[0]=1; stride[1]=1;
+ stride[0]=0; stride[1]=0;
count[0]=1; count[1]=1;
block[0]=6; block[1]=6;
ret = H5Sselect_hyperslab(sid2,H5S_SELECT_SET,start,stride,count,block);
diff --git a/test/tselect.c b/test/tselect.c
index 528d15e..598df68 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -4129,7 +4129,7 @@ test_select_combine(void)
/* 'AND' "all" selection with another hyperslab */
start[0]=start[1]=0;
- stride[0]=stride[1]=1;
+ stride[0]=stride[1]=0;
count[0]=count[1]=1;
block[0]=block[1]=5;
error=H5Sselect_hyperslab(space1,H5S_SELECT_AND,start,stride,count,block);
@@ -4263,7 +4263,7 @@ test_select_combine(void)
/* 'OR' "none" selection with another hyperslab */
start[0]=start[1]=0;
- stride[0]=stride[1]=1;
+ stride[0]=stride[1]=0;
count[0]=count[1]=1;
block[0]=block[1]=5;
error=H5Sselect_hyperslab(space1,H5S_SELECT_OR,start,stride,count,block);
@@ -4298,7 +4298,7 @@ test_select_combine(void)
/* 'AND' "none" selection with another hyperslab */
start[0]=start[1]=0;
- stride[0]=stride[1]=1;
+ stride[0]=stride[1]=0;
count[0]=count[1]=1;
block[0]=block[1]=5;
error=H5Sselect_hyperslab(space1,H5S_SELECT_AND,start,stride,count,block);
@@ -4318,7 +4318,7 @@ test_select_combine(void)
/* 'XOR' "none" selection with another hyperslab */
start[0]=start[1]=0;
- stride[0]=stride[1]=1;
+ stride[0]=stride[1]=0;
count[0]=count[1]=1;
block[0]=block[1]=5;
error=H5Sselect_hyperslab(space1,H5S_SELECT_XOR,start,stride,count,block);
@@ -4353,7 +4353,7 @@ test_select_combine(void)
/* 'NOTB' "none" selection with another hyperslab */
start[0]=start[1]=0;
- stride[0]=stride[1]=1;
+ stride[0]=stride[1]=0;
count[0]=count[1]=1;
block[0]=block[1]=5;
error=H5Sselect_hyperslab(space1,H5S_SELECT_NOTB,start,stride,count,block);
@@ -4373,7 +4373,7 @@ test_select_combine(void)
/* 'NOTA' "none" selection with another hyperslab */
start[0]=start[1]=0;
- stride[0]=stride[1]=1;
+ stride[0]=stride[1]=0;
count[0]=count[1]=1;
block[0]=block[1]=5;
error=H5Sselect_hyperslab(space1,H5S_SELECT_NOTA,start,stride,count,block);