BUG: fieldSelection - corrected selectionNames()

This commit is contained in:
Andrew Heather
2019-01-29 14:38:36 +00:00
parent 96bb43ae00
commit 216616638f

View File

@ -48,7 +48,7 @@ inline Foam::wordHashSet
Foam::functionObjects::fieldSelection::selectionNames() const
{
wordHashSet names;
for (const fieldInfo& fi : *this)
for (const fieldInfo& fi : selection_)
{
names.insert(fi.name());
}