1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-08-02 22:37:07 +01:00

consistent boolean notation

This commit is contained in:
2016-04-19 19:21:05 -07:00
parent 60170db570
commit 9edec3709b
12 changed files with 16 additions and 16 deletions

View File

@@ -207,14 +207,14 @@ string Hdf5File::getFirstGroupName(void)
{
string res;
if ((mode_ & Mode::read)&&(isOpen()))
if ((mode_ & Mode::read) and (isOpen()))
{
auto firstGroupName = [](hid_t loc_id, const char *name, void *fname)
{
H5G_stat_t statbuf;
H5Gget_objinfo(loc_id, name, 0, &statbuf);
if ((statbuf.type == H5G_GROUP) && (strlen((char *)fname) == 0))
if ((statbuf.type == H5G_GROUP) and (strlen((char *)fname) == 0))
{
strncpy((char *)fname, name, maxGroupNameSize);
}
@@ -268,7 +268,7 @@ void Hdf5File::load(DSample &ds, const DataSet &d)
string Hdf5File::load(const string &name)
{
if ((mode_ & Mode::read)&&(isOpen()))
if ((mode_ & Mode::read) and (isOpen()))
{
string groupName;
Group group;