]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliPythiaRndm.cxx
Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / PYTHIA6 / AliPythiaRndm.cxx
index 7efc265efa2facea624eec050fabdf2cedbf4ae6..0bdddef425ea050ebe2c09235da18bcf515362f4 100644 (file)
@@ -30,6 +30,7 @@
 //
 //-----------------------------------------------------------------------------
 
+#include <TMath.h>
 #include <TRandom.h>
 
 #include "AliPythiaRndm.h"
@@ -65,7 +66,7 @@ TRandom * AliPythiaRndm::GetPythiaRandom() {
 extern "C" {
     Double_t pyr(Int_t*) 
     {
-       // Wrapper to FINCTION PYR from PYTHIA
+       // Wrapper to FUNCTION PYR from PYTHIA
        // Uses static method to retrieve the pointer to the (C++) generator
        Double_t r;
        do r=AliPythiaRndm::GetPythiaRandom()->Rndm();