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

BUG: OFstreamCollator: checking for threads. Fixes #659.

parent eabce47e
No related branches found
No related tags found
No related merge requests found
...@@ -430,7 +430,7 @@ bool Foam::OFstreamCollator::write ...@@ -430,7 +430,7 @@ bool Foam::OFstreamCollator::write
<< " using communicator " << comm_ << endl; << " using communicator " << comm_ << endl;
} }
if (!UPstream::haveThreads) if (!UPstream::haveThreads())
{ {
FatalErrorInFunction FatalErrorInFunction
<< "mpi does not seem to have thread support." << "mpi does not seem to have thread support."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment