Hello rooters, I am using ROOT version 3.05 CVSed yesterday on LINUX. I am tryingto do a fit to a graph with a function other than GraphFitChisquare(). Attached is a script that will work when ACLiC compiled (note that GraphFitChisquareNoEX is just GraphFitChisquare for debugging). But if GraphFitChisquareNoEX is compiled and testfit is in interpreted mode, I get a SegV. I can trace it to the line fu = grF1->EvalPar(x,u); and it seems that the segV is called because of u. If I do a cout<<u[0]<<endl; in the function, I get a segV at that point. -- RAINMAN "How much does a piece of gum cost Ray?" "About $100." "How much does a new car cost Ray?" "`Bout $100." "There goes working for NASA!" ================================================================== Ray Fliller: rfliller@bnl.gov Office Phone: (631)-344-6124 C-A Accelerator Physics Dept. Fax: (631)-344-5954 Building 911B Brookhaven National Lab Upton, NY 11973 Office: Room 211 http://www.agsrhichome.bnl.gov/People/rfliller/ ==================================================================
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET