diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H b/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H index d750108654..8e9d055d74 100644 --- a/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H +++ b/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H @@ -20,7 +20,7 @@ const fileName pdfPath = runTime.path()/"pdf"; mkDir(pdfPath); - Random rndGen(label(0)); + cachedRandom rndGen(label(0), -1); autoPtr p(pdfs::pdf::New(pdfDictionary, rndGen));