BUG: codeStream: do not reduce if timeStampMaster

This commit is contained in:
mattijs
2014-03-11 10:13:10 +00:00
committed by Andrew Heather
parent dd0efd159d
commit b50f294391

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -286,7 +286,10 @@ Foam::functionEntries::codeStream::getFunction
}
bool haveLib = lib;
reduce(haveLib, andOp<bool>());
if (!regIOobject::masterOnlyReading)
{
reduce(haveLib, andOp<bool>());
}
if (!haveLib)
{