Commit a3e27ed1 authored by mattijs's avatar mattijs
Browse files

ENH: codeStream: add reduction before trying to load lib

parent b67810c8
......@@ -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))
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment