From 862520b80e8e1b29f5b5a719b40506e348c2ee47 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sat, 31 May 2003 11:20:03 -0500 Subject: [svn-r6941] Purpose: Code cleanup Description: Clean up older settings for strides of hyperslabs Platforms tested: h5committestted (although Fortran tests failed for some reason) --- test/trefer.c | 2 +- test/tselect.c | 12 ++++++------ 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); -- cgit v0.12