Commit b5f091e7 authored by Mark Olesen's avatar Mark Olesen
Browse files

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

parent a17a0412
......@@ -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())
......
Markdown is supported
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