BUG: subsetMesh: mapping topoSets. Fixes #1053.

This commit is contained in:
mattijs 2018-10-30 12:43:30 +00:00
parent f87496b35d
commit 966eed302e

View File

@ -344,11 +344,11 @@ void subsetTopoSets
labelHashSet subset(2*min(set.size(), map.size()));
for (const label id : map)
forAll(map, i)
{
if (set.found(id))
if (set.found(map[i]))
{
subset.insert(id);
subset.insert(i);
}
}