Skip to content

Commit

Permalink
ci: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Atkins committed Feb 9, 2021
1 parent b5f8897 commit 3bde282
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions source/adios2/core/Group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ std::vector<std::string> Group::AvailableAttributes()
std::string variablePath = currentPath + groupDelimiter + v;
variablePath = variablePath.substr(
ADIOS_root.size() + 1, variablePath.size() - ADIOS_root.size());
if (attributes.find(variablePath) !=
attributes.end())
if (attributes.find(variablePath) != attributes.end())
{
available_attributes.push_back(v);
}
Expand All @@ -201,11 +200,11 @@ std::vector<std::string> Group::AvailableGroups()
std::set<std::string> val = mapPtr->treeMap[currentPath];
{
for (auto v : val)
{
if (mapPtr->treeMap.find(currentPath + groupDelimiter + v) !=
mapPtr->treeMap.end())
available_groups.push_back(v);
}
{
if (mapPtr->treeMap.find(currentPath + groupDelimiter + v) !=
mapPtr->treeMap.end())
available_groups.push_back(v);
}
}
return available_groups;
}
Expand Down

0 comments on commit 3bde282

Please sign in to comment.