ENH: codeStream: add reduction before trying to load lib

This commit is contained in:
mattijs
2011-02-23 16:07:42 +00:00
parent b67810c898
commit a3e27ed1df

View File

@ -36,6 +36,7 @@ License
#include "OSspecific.H"
#include "Time.H"
#include "Pstream.H"
#include "PstreamReduceOps.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -211,8 +212,8 @@ bool Foam::functionEntries::codeStream::execute
}
}
// bool dummy = true;
// reduce(dummy, orOp<bool>());
bool dummy = true;
reduce(dummy, orOp<bool>());
if (!dlLibraryTable::open(libPath, false))
{