3993 |
|
|
3994 |
minor++; |
minor++; |
3995 |
|
|
3996 |
|
/* 2004.11.5 code by AWW to eliminate runaway minor loop */ |
3997 |
|
int32 maxMinorIterations; |
3998 |
|
maxMinorIterations = 30; |
3999 |
|
if(minor >= maxMinorIterations){ |
4000 |
|
FPRINTF(stderr,"\nQRSlv: Too many minor iterations. Check variables on bounds.\n"); |
4001 |
|
sys->s.inconsistent = TRUE; |
4002 |
|
iteration_ends(sys); |
4003 |
|
update_status(sys); |
4004 |
|
return; |
4005 |
|
} |
4006 |
|
|
4007 |
|
/* end of code by AWW */ |
4008 |
|
|
4009 |
if (first) { |
if (first) { |
4010 |
change_maxstep(sys, MAXDOUBLE); |
change_maxstep(sys, MAXDOUBLE); |
4011 |
first = FALSE; |
first = FALSE; |