Set maximum number of calls in MIGRAD

Dear rooters,
I’m experiencing problems with MIGRAD. I get:

CALL LIMIT EXCEEDED IN MIGRAD.
MIGRAD TERMINATED WITHOUT CONVERGENCE.
FCN=5.58715 FROM MIGRAD STATUS=CALL LIMIT 1983 CALLS 1985 TOTAL
EDM=9.94672e-05 STRATEGY= 2 ERR MATRIX NOT POS-DEF

That seems to me that MIGRAD has iterated just 1983 times even if my configuration of the fit looks like:
int ierror = 0;
arglis[0] = 100000;
arglis[1] = 0.00001;
rmin.mnexcm( “MIGRAD”, arglis, 2, ierror );

in which arglis[0] is supposed to be the [maxcalls] parameter.
Does anyone know why I get this and, if my understanding is right, how can I set the maximum number of calls in such a way that is not ignored by MIGRAD?
Thanks.

Stefano

Hi,

Are you still having this problem ? I suspect there is a problem in some part of your code code, which I cannot see. I would need to have a running example showing this problem. The way you are setting the max number of calls should work, and it does in many other examples.

Best Regards

Lorenzo