Re: TF2::Integral problem

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Thu, 05 Apr 2007 20:54:18 +0200


Could you send the shortest possible RUNNING script reproducing your problem?

Rene Brun

Luca Grandi wrote:
> Hi rooties,
>
> I am trying to use TF2::Integral and when the upper limit of integration is
> increased above a certain value I get the error
>
> Warning in <TF2::Integral>: failed code=1, minpts=17, maxpts=10000,
> epsilon=1, nfnevl=9979, relerr=nan
>
> The function does not present any singularity in the region on which I am
> trying to integrate.
> It seems to me that what is causing problem is this element of the integrand
>
> TMath::Power((var[0],(int)(var[1]))
>
> the upper integration limit of var[1] is giving me problem. I have tried to
> increase the accuracy up to 1 without any effect. The code I have produced
> is standalone (not a macro).
> Any suggestion?
>
> Thanks
>
> Luca
>
> NB: I am using
>
>
Received on Thu Apr 05 2007 - 20:54:25 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 05 2007 - 23:50:01 CEST