collatedFileOperation: Corrected thread support test

This commit is contained in:
Henry Weller
2017-12-07 23:50:12 +00:00
parent f823c91500
commit de77f4e1f4

View File

@ -430,7 +430,7 @@ bool Foam::OFstreamCollator::write
<< " using communicator " << comm_ << endl;
}
if (!UPstream::haveThreads)
if (!UPstream::haveThreads())
{
FatalErrorInFunction
<< "mpi does not seem to have thread support."