Re: Problem during compiling using HEAD of RAT from CVS...

From: Christopher Tunnell (tunnell@mail.utexas.edu)
Date: Wed Sep 07 2005 - 19:25:51 CDT


None of ours, it is supposed to be defined by #include <cmath>.

Here are the few ways we have tried to do it:
gamma(x)
tgamma(x)
exp(lgamma(x))

Maybe changing:

float gmratio = m/exp(lgamma(m));

to:

float gmratio = m/gamma(m);

This is just a shot in the dark, however.

Stephen Jacob Sekula wrote:

> Hi Chris,
>
>> $ cvs update -r 1.6 src/RATSimpleDAQ.cc
>
>
> That did not work. Which library/include file is supposed to supply the
> {l,t}gamma function?
>
> Regards,
> Steve



This archive was generated by hypermail 2.1.6 : Thu Sep 08 2005 - 00:01:02 CDT