Hi, you have some errors on parameter types: - first: > Double_t erf( Double_t *x, Double_t *par){ > return par[0]*TMath::Erf(*x); > } > - and of course > Double_t erf(Double_t *, Double_t *); - second: > TF1 *fitfcn = new TF1("fitfcn",erf,0.0,5.0,1); Cheers, Pavol ************************************** Pavol Strizenec strizene@mppmu.mpg.de **************************************
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:47 MET