summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-06-13 19:09:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-06-13 19:09:35 (GMT)
commit737f79b5da933853fde9a194d3fe5c4bd820261b (patch)
tree2d1924110a080401f2ee9cc583edfdba5e30e40e /src/H5Dcontig.c
parent6e2c92c082868c8cb7e612c91fd82371e91f2851 (diff)
downloadhdf5-737f79b5da933853fde9a194d3fe5c4bd820261b.zip
hdf5-737f79b5da933853fde9a194d3fe5c4bd820261b.tar.gz
hdf5-737f79b5da933853fde9a194d3fe5c4bd820261b.tar.bz2
[svn-r8674] Purpose:
Code optimization Description: Revised dataspace selections to use a more "object oriented" mechanism to set the function pointers for each selection and selection iterator. This reduces the amount and number of times that dataspace selection info has to be copied. Additionally, change hyperslab selection information to be dynamically allocated instead of an inline struct. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
Diffstat (limited to 'src/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index 47fdace..407873a 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -166,7 +166,7 @@ H5D_contig_fill(H5F_t *f, hid_t dxpl_id, H5D_t *dset)
assert(elmt_size>0);
/* Get the number of elements in the dataset's dataspace */
- snpoints = H5S_GET_SIMPLE_EXTENT_NPOINTS(dset->space);
+ snpoints = H5S_GET_EXTENT_NPOINTS(dset->space);
assert(snpoints>=0);
H5_ASSIGN_OVERFLOW(npoints,snpoints,hssize_t,size_t);