Exceed recursion limit in numerical integration

Hi,

I used the numerical integration in Igor and got some message like: BUG: Exceeded recursion limit; Specify finite intervals.

Does that means the integration results are not reliable? I google online but can't get any results.

Thanks!
It means that your function is calling itself over and over, like this:

Function Test()
    Test()
End

Dahair wrote:

I used the numerical integration in Igor and got some message like: BUG: Exceeded recursion limit; Specify finite intervals.

It would be useful to see exactly what you are trying to integrate and how. There are many options in numerical integration that might fail if you are not providing reasonable inputs. If you are not sure how this works, start by integrating a simple expression, e.g.,

f(x)=1+x

between simple numerical limits [2,7]. Next consider integrating

f(x)=sin(1e6*pi*x)

between the same limits. In the first example you had a smooth line with little fluctuations. In the second you would need to consider the oscillating nature of the function and evaluate it using an appropriate number of intervals. For the above example you should try a count (Integrate1d count parameter) ~ of the number of cycles.

Quote:

Does that means the integration results are not reliable?

The operation failed so there is no reason to expect that the results are meaningful.