BUG: codeStream: do not reduce if timeStampMaster

This commit is contained in:
mattijs
2014-03-11 10:16:19 +00:00
parent 0c44b286bc
commit 53dfd29cbe

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)
{