diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-04 18:42:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-04 18:42:20 (GMT) |
commit | ab28d2c820e88b3cf6d13b5ebac96d7e69203d8d (patch) | |
tree | 235771e2a38aedfb5bee40a61faf0c9bc612f667 /test/ntypes.c | |
parent | e03437e4da9251c6442f8c96768a01472a0990bd (diff) | |
download | hdf5-ab28d2c820e88b3cf6d13b5ebac96d7e69203d8d.zip hdf5-ab28d2c820e88b3cf6d13b5ebac96d7e69203d8d.tar.gz hdf5-ab28d2c820e88b3cf6d13b5ebac96d7e69203d8d.tar.bz2 |
[svn-r6961] Purpose:
Bug fix
Description:
An earlier checkin changed some of the assumptions about single block
hyperslabs, causing them to fail in odd ways.
Solution:
Fix errors with single block hyperslabs by keying off of count==1 instead
of stride==1.
Platforms tested:
FreeBSD 4.8 (sleipnir) w/parallel
h5committested
Diffstat (limited to 'test/ntypes.c')
-rw-r--r-- | test/ntypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ntypes.c b/test/ntypes.c index 9ddcefc..53276a2 100644 --- a/test/ntypes.c +++ b/test/ntypes.c @@ -1624,7 +1624,7 @@ test_refer_dtype2(hid_t file) /* Create references */ /* Select 6x6 hyperslab for first reference */ start[0]=2; start[1]=2; - stride[0]=0; stride[1]=0; + stride[0]=1; stride[1]=1; count[0]=1; count[1]=1; block[0]=6; block[1]=6; |