diff --git a/src/sampling/sampledSet/patchSeed/patchSeedSet.C b/src/sampling/sampledSet/patchSeed/patchSeedSet.C index 0c33688a4f..390300e4cd 100644 --- a/src/sampling/sampledSet/patchSeed/patchSeedSet.C +++ b/src/sampling/sampledSet/patchSeed/patchSeedSet.C @@ -234,13 +234,14 @@ void Foam::patchSeedSet::calcSamples subset.setSize(myMaxPoints); // Subset patchFaces - patchFaces = labelUIndList(patchFaces, subset)(); if (debug) { - Pout<< "In random mode : selected " << patchFaces.size() + Pout<< "In random mode : selected " << subset.size() << " faces out of " << patchFaces.size() << endl; } + + patchFaces = labelUIndList(patchFaces, subset)(); }