Commit dc2ed0c9 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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

parent c0b17e02
......@@ -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())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment