[svn-r3040]

Purpose:
    bug_fix
Description:
    forget changing offset from file offset into memory offset when inserting array datatype
Solution:
    correct them
Platforms tested:
    J90
This commit is contained in:
MuQun Yang 2000-11-30 15:12:14 -05:00
parent 0d62839e12
commit f686e853aa

View File

@ -779,7 +779,7 @@ int gen_h5comptype(int32 vdata_id,int32 nfields,
return FAIL;
}
if(H5Tinsert(h5_cmemtype,fieldname,fil_offset,arr_type)<0) {
if(H5Tinsert(h5_cmemtype,fieldname,mem_offset,arr_type)<0) {
printf("error inserting array into hdf5 compound datatype for memory. \n");
return FAIL;
}