mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r6605] Purpose:
Code cleanup Description: Array declaration was using hard-coded constant for maximum number of dimensions. Solution: Changed to use H5O_LAYOUT_NDIMS. Platforms tested: FreeBSD 4.8 (sleipnir) w/szip Linux 2.4 (sleipnir) w/szip Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel Misc. update:
This commit is contained in:
parent
99252b703d
commit
831841b58f
@ -54,7 +54,7 @@
|
||||
#define H5D_CRT_CHUNK_DIM_DEF 1
|
||||
/* Definitions for chunk size */
|
||||
#define H5D_CRT_CHUNK_SIZE_NAME "chunk_size"
|
||||
#define H5D_CRT_CHUNK_SIZE_SIZE sizeof(hsize_t[32])
|
||||
#define H5D_CRT_CHUNK_SIZE_SIZE sizeof(hsize_t[H5O_LAYOUT_NDIMS])
|
||||
#define H5D_CRT_CHUNK_SIZE_DEF {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,\
|
||||
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
|
||||
/* Definitions for fill value. size=0 means fill value will be 0 as
|
||||
|
Loading…
Reference in New Issue
Block a user