Hi Mariusz, This warning message is a bit misleading. It means that Root has taken the decision to automatically delete a previous histogram with identical name to avoid a memory leak. Rene Brun Mariusz Sapinski wrote: > > Hello, > > every time i execute: > > TProfile *yShp01 = yShape01->ProfileX("",0,100); > yShp01->Rebin(yShp01->GetNbinsX()/nbinsc); > > (in macro, root v. 3.04) i get message: > > Warning in <TH1::Build>: Replacing existing histogram: (Potential memory > leak). > > is it normal? > > -- > Mariusz
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET