hdf5 reader: fix return value

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/1/head
Thorsten Liebig 2013-02-12 08:58:50 +01:00
parent 274800054f
commit dea4065ca1
1 changed files with 2 additions and 2 deletions

View File

@ -394,12 +394,12 @@ bool HDF5_File_Reader::ReadTimeSteps(vector<unsigned int> &timestep, vector<stri
float**** HDF5_File_Reader::GetTDVectorData(size_t idx, float &time, unsigned int data_size[])
{
if (IsValid()==false)
return false;
return NULL;
hid_t hdf5_file;
hid_t TD_grp;
if (OpenGroup(hdf5_file, TD_grp, "/FieldData/TD")==false)
return false;
return NULL;
hsize_t numObj;
if (H5Gget_num_objs(TD_grp,&numObj)<0)