1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

Hdf5File.cpp: fixed bug in determination of first group name

This commit is contained in:
Matt Spraggs 2015-10-01 21:37:03 +01:00
parent 5e3247697d
commit 9c52fa104b

View File

@ -185,6 +185,7 @@ string Hdf5File::getFirstGroupName(void)
};
char groupName[maxGroupNameSize];
groupName[0] = 0; // Need to make sure it's null-terminated
h5File_->iterateElems("/", nullptr, firstGroupName, groupName);
res = groupName;