Skip to content
Snippets Groups Projects
Commit abb332df authored by mattijs's avatar mattijs
Browse files

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

parent 65833e6c
No related merge requests found
...@@ -240,7 +240,10 @@ int main(int argc, char *argv[]) ...@@ -240,7 +240,10 @@ int main(int argc, char *argv[])
if (Pstream::master()) if (Pstream::master())
{ {
// Actually load the surface // Actually load the surface
const bool oldParRun = Pstream::parRun();
Pstream::parRun() = false;
triSurfaceMesh surf(io); triSurfaceMesh surf(io);
Pstream::parRun() = oldParRun;
s = surf; s = surf;
bbs = List<treeBoundBox>(1, treeBoundBox(boundBox::greatBox)); bbs = List<treeBoundBox>(1, treeBoundBox(boundBox::greatBox));
} }
......
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