Re: [ROOT] Bug in TChain::LoadTree?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Dec 14 2001 - 14:53:49 MET


Hi Thomas,

As usual, you are right. Thanks for reporting this small problem.
Now fixed in CVS.

Rene Brun

Thomas Bretz wrote:
> 
> Hi rooters,
> 
> in TChain::LoadTree I found:
> 
>    if (entry < 0 || entry > fEntries) return -2;
> 
> I guess it should be
> 
>    if (entry < 0 || entry >= fEntries) return -2;
> 
> shoudn't it?
> 
> Best regards,
> Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET