Commit 3b29395a authored by Mark Olesen's avatar Mark Olesen
Browse files

BUG: surfaceFieldValue with vectorWeights blocks in parallel (fixes #2129)

parent 308af391
api=2012
patch=210414
patch=210618
......@@ -1263,7 +1263,7 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
// Process the fields
if (vectorWeights.size())
if (returnReduce(!vectorWeights.empty(), orOp<bool>()))
{
if (scalarWeights.size())
{
......
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