Re: Compatibility b/w ROOT types and regular C++ types

From: Suvayu Ali <fatkasuvayu_at_gmail.com>
Date: Thu, 8 Oct 2009 20:31:35 -0700


On Thursday 08 October 2009 08:13 PM, Vito Di Benedetto wrote:
> Hi Ali,
> I think you should use
>
> TMath::Pi()
>
> and not
>
> TMath::Pi
>
> in fact:
>
>
> root [0] TMath::Pi
> (const void*)0x1bdc60
>
> root [1] TMath::Pi()
> (Double_t)3.14159265358979312e+00
>

Thanks Vito! Just as I supposed, I was being stupid. :)

> Cheers,
> Vito
>

-- 
Suvayu

Open source is the future. It sets us free.
Received on Fri Oct 09 2009 - 05:31:53 CEST

This archive was generated by hypermail 2.2.0 : Fri Oct 09 2009 - 11:50:02 CEST