diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/trefer.c | 2 | ||||
-rw-r--r-- | 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); |