diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C index 25746f43a0..c181d2d5c1 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C @@ -586,8 +586,8 @@ Foam::autoPtr Foam::fvMeshDistribute::repatch "fvMeshDistribute::repatch(const labelList&, labelListList&)" ) << "reverseFaceMap contains -1 at index:" << index << endl - << "This means that the repatch operation was not just a shuffle?" - << abort(FatalError); + << "This means that the repatch operation was not just" + << " a shuffle?" << abort(FatalError); } } @@ -622,9 +622,7 @@ Foam::autoPtr Foam::fvMeshDistribute::mergeSharedPoints ) ); - bool merged = pointToMaster.size() > 0; - - if (!returnReduce(merged, orOp())) + if (returnReduce(pointToMaster.size(), sumOp