The global function was certainly my solution. It was just a wrapper to the member function. Give it a very similar name or put it in a namespace maybe? Not so bad. - J Jan CONRAD wrote: >Dear rooters, > > I try to use TMinuit inside a class and try to have fcn as a member >function of this class, i.e.: gMinuit->SetFCN(pointerToFCN). This seems >not to work, and was a known problem, I found a couple of mails some years >ago. I don't like the workaround (defining a global function). > >Is there any other solution to this problem ? > >cheers and thanks, > >Jan > > > >----------------------------------------------------------------- >Jan CONRAD, PH/EP Dept., CERN, CH-1211 Geneva 23, Switzerland >+41 22 767 0182, Office 160-1-0012 >----------------------------------------------------------------- > > > > > -- Dr. John Krane jkrane@netzero.com
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET