[ROOT] TF1 copy constructor

From: Bertalan Juhasz (Bertalan.Juhasz@cern.ch)
Date: Wed May 16 2001 - 16:00:09 MEST


Dear Developers,

I may have found a bug in ROOT: the following two lines cause a
segmentation violation in both compiled and interpreted mode:

TF1 *af = new TF1();
TF1 *bf = new TF1(*af);

It looks like that the problem is with the TF1 copy constructor. Or am I
doing something wrong? The above code works fine if I replace TF1 with
e.g. TH1F.

I'm using ROOT "new" (i.e. v 3.00/06) on AFS under CERN RedHat 6.1.

Regards,

Bertalan



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:45 MET