From ef974adf6b7eb893553480b2ef9c7f9ffafa4068 Mon Sep 17 00:00:00 2001
From: andy <a.heather@opencfd.co.uk>
Date: Wed, 20 Oct 2010 16:07:11 +0100
Subject: [PATCH] ENH: Updated pdfPlot utility

---
 .../postProcessing/miscellaneous/pdfPlot/createFields.H         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H b/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H
index d7501086542..8e9d055d74c 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<pdfs::pdf> p(pdfs::pdf::New(pdfDictionary, rndGen));
 
-- 
GitLab