Hi, I can't get TRandom::Binomial to produce sensible results. Attached is the result of the following macro - am I doing something stupid, or is this a bug? void randtest() { TH1F *hist = new TH1F("hist","Test gRandom->Binomial(10,0.5)",10,0,10); for (int i=0;i<1000000;i++) { hist->Fill(gRandom->Binomial(10,0.5)); } hist->Draw(); } Tried with root 2.24/4 and 2.23/12 - same results. Phil
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET