Re: Bug in TGraph2D 5.28

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Fri, 10 Jun 2011 09:07:54 +0000


Now fixed.

On 5/25/11 1:43 AM, "wlavrijsen_at_lbl.gov" <wlavrijsen_at_lbl.gov> wrote:

>Noel,
>
>>>>> import ROOT
>>>>> g = ROOT.TGraph(3)
>>>>> g.GetN()
>> 3
>>>>> g = ROOT.TGraph2D(3)
>>>>> g.GetN()
>> 0
>>>>>
>>
>> ???
>
>there's an issue with construction/destruction ordering given that neither
>TGraph(2D) has a name, so after the construction the same object will be
>deleted due to it's reference going away.
>
>That said, I see the same in CINT:
>
>root [0] g = new TGraph(3);
>root [1] g->GetN()
>(const Int_t)3
>root [2] g2 = new TGraph2D(3);
>root [3] g2->GetN()
>(const Int_t)0
>root [4]
>
>so there must be something more to it ...
>
>Best regards,
> Wim
>--
>WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net
>
Received on Fri Jun 10 2011 - 11:08:04 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 10 2011 - 17:50:01 CEST