Hi Chris, Thanks for reporting this problem. I can reproduce it with a simple macro. The problem appears when several TF1 functions reference the same interpreted function. Your macro will work if you specify the option "N" in the second argument to TH1::Fit. Rene Brun On Wed, 31 Mar 1999, Chris Jillings wrote: > Hello all, > I had a problem with TF1 in the interpreter. The main loop which > fits each histogram works fine as long as the fit isn't called. When the > fit is called, the fit is not performed and the program bombs with an > "illegal reference to i" when i is incremented from 0 to 1. It works fine > compiled. > I am running version 2.21/01 on Red Hat 5.2. > > The source code and Makefiles are attached. Any ideas? > > > Thank you, > > Chris > > > > > > ================================================================== > = = > = Chris Jillings = > = Department of Physics phone/voice mail: (613) 533-6000x74805 = > = Queen's University fax: (613) 533-6813 = > = Kingston, Ontario email: chris@sno.phy.queensu.ca = > = Canada, K7L 3N6 web: http://sno.phy.queensu.ca = > = = > ================================================================== > > > >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET