Set sRandom in all cases
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Dec 2000 22:27:23 +0000 (22:27 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Dec 2000 22:27:23 +0000 (22:27 +0000)
STEER/AliRndm.h

index f446b7840bb598148efe829a034e0f348ce218ac..f4d9396a13316e9afa8b89ae1c4c68be04e52f9c 100644 (file)
@@ -23,7 +23,7 @@ public:
   
   // Random number generator bit
   virtual void SetRandom(TRandom *ran=0)
-  {if(ran) fRandom=ran;
+  {if(ran) fRandom=sRandom=ran;
   else fRandom=sRandom=gRandom;}
 
   virtual TRandom* GetRandom() const {return fRandom;}