summaryrefslogtreecommitdiffstats
path: root/src/H5.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/H5.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/H5.c')
-rw-r--r--src/H5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5.c b/src/H5.c
index 4050736..5c5f3ad 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -2142,7 +2142,7 @@ H5_trace (double *returning, const char *func, const char *type, ...)
/* This may generate recursive call to the library... -QAK */
{
H5S_t *space = H5I_object(obj);
- if (H5S_SIMPLE==H5S_GET_SIMPLE_EXTENT_TYPE(space)) {
+ if (H5S_SIMPLE==H5S_GET_EXTENT_TYPE(space)) {
asize[argno] = H5S_get_simple_extent_ndims(space);
}
}