On 26 Aug 2002, Maarten Ballintijn wrote: > Hi Andreas, > > Do you by any chance have a define of 'pi' in your software? > (e.g. "#define pi 3.1415....") That would explain the problem. > > The solution would be to use TMath::Pi instead of a define. > In general it is dicouraged to use #define exactly for the kind > of problem this seems to be. See TMath.h for all available > constants! Hello Maarten! You are right! There was a #define pi from the old days... I replaces it with "const double k_Pi" (I only use ROOT for some parts of the library) and everything was ok. Thanks, Andreas ---------------------------------------------------------------------- Andreas Zoglauer MPI fuer extraterrestrische Physik Phone: +49/89-30000-3848 Postfach 1312 Fax: +49/89-30000-3569 85741 Garching, Germany Email: zog@mpe.mpg.de ----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET