Skip to content
Snippets Groups Projects
Commit dc2ed0c9 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: incorrect indexing for surface baffles (fixes #497)

parent c0b17e02
Branches
Tags
1 merge request!121Merge develop into master for v1706 release
......@@ -510,9 +510,9 @@ int main(int argc, char *argv[])
}
labelList indices = findStrings(baffleSelect, patchNames);
forAll(indices, patchi)
for (const label patchId : indices)
{
surfBaffleRegions[patchi] = true;
surfBaffleRegions[patchId] = true;
}
if (indices.size())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment