Index: trunk/MagicSoft/Mars/macros/RanForest.C
===================================================================
--- trunk/MagicSoft/Mars/macros/RanForest.C	(revision 1869)
+++ trunk/MagicSoft/Mars/macros/RanForest.C	(revision 1871)
@@ -103,7 +103,7 @@
 
     MRanForestGrow rfgrow2;
-    rfgrow2.SetNumTrees(50);
+    rfgrow2.SetNumTrees(10);
     rfgrow2.SetNumTry(3);
-    rfgrow2.SetNdSize(1);
+    rfgrow2.SetNdSize(10);
 
     MWriteRootFile rfwrite2("RF.root");
@@ -114,4 +114,11 @@
     tlist2.AddToList(&rfwrite2);
     tlist2.AddToList(&fillh2);
+
+    // gRandom is accessed from MRanForest (-> bootstrap aggregating)
+    // and MRanTree (-> random split selection) and should be initialized
+    // here if you want to set a certain random number generator
+    if(gRandom)
+        delete gRandom;
+    gRandom = new TRandom3(0);
 
     //
