mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-25 17:00:45 +08:00
[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:
parent
0d62839e12
commit
f686e853aa
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user