BUG: surfaceRedistributePar: hang in collated. See #686.

This commit is contained in:
mattijs
2017-12-28 12:45:49 +00:00
parent 65833e6c22
commit abb332df6d

View File

@ -240,7 +240,10 @@ int main(int argc, char *argv[])
if (Pstream::master())
{
// Actually load the surface
const bool oldParRun = Pstream::parRun();
Pstream::parRun() = false;
triSurfaceMesh surf(io);
Pstream::parRun() = oldParRun;
s = surf;
bbs = List<treeBoundBox>(1, treeBoundBox(boundBox::greatBox));
}