Re: [ROOT] tiny Bug in root

From: Valeri Fine (fine@bnl.gov)
Date: Thu Nov 29 2001 - 22:26:53 MET


> Dear ROOTERs,
> 
> I have a test on the following code:
> 
> TF1 f1("func1", "sin(x)/x", 0, 10)
> f1.Eval(0),
> 
> 
> It gives the value 0 instead of 1.
 
  It is wrong of course it MUST crash application.
  There is NO way to return "1"  with any conventional
  programming language though.

> I am using root Version   3.01/06 , released at 23 July 2001.

 It doesn't  matter.  Just try this with any plain C, C++, Fortran,  
 Pascal  what so ever.

> Thank you for your attention.

   You are welcome.
 
> Aidong
                             Valeri



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