Re: New root version (5) vs. 4.08

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Thu, 10 Aug 2006 16:17:38 +0200


Anna Kreshuk has investigated your problem and reports the following:

I reread this mail again with more attention to the user's code. It looks like the user is trying to compute the integral with precision of 1e-20. I guess, the integral has never converged, but the warning about it was only added after version 4.00.08. Could you ask him to check, if lowering the precision would make the warning go away?

Anna

andreyk1_at_post.tau.ac.il wrote:
> Dear rooters,
>
> I changed my root version from 4.08 to 5 and I got the problem with TF3 class.
>
> My script:
>
> ///
>
> TF3 *dis = new TF3("int_fnc", func, r_min,r_max, z_min, z_max, b_min, b_max,3);
> dis->SetParameters(par1, par2, par3);
> return dis->Integral(r_min, r_max, z_min, z_max, b_min, b_max, 1e-20));
>
> ///
>
> reproduces the problem:
>
> Warning in <TF3::Integral>: failed code=1, minpts=33, maxpts=10000,
> epsilon=1e-07, nfnevl=9999, relerr=0.00418342
>
> How can I fix it?
>
> Thanks a lot!
>
> Andrew.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
Received on Thu Aug 10 2006 - 16:17:44 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET