TGraph::Eval and assertion


I updated ROOT to 5.26/00.
Following code does not work.

double x[]= {1,2}; double y[]= {1,2}; TGraph g(2,x,y); cout<<g.Eval(1)<<endl;

The error message is

Is this a bug, or a new feature ?

This code is just a short example to reproduce my problem.
If this is a feature, I can just add protection to check if the parameter of Eval is on the boundary to read Y value of the point instead of using TGraph::Eval in my analysis program.



this is a bug which has already been fixed in the trunk.


Thank you.

I should have checked trunk before asking.