| 121 |
* |
* |
| 122 |
ISTEP=0 !num. steps to minimize chi^2 |
ISTEP=0 !num. steps to minimize chi^2 |
| 123 |
JFAIL=0 !error flag |
JFAIL=0 !error flag |
| 124 |
|
CHI2=0 |
| 125 |
|
|
| 126 |
if(TRKDEBUG) print*,'guess: ',al |
if(TRKDEBUG) print*,'guess: ',al |
| 127 |
if(TRKDEBUG) print*,'mini2: step ',istep,chi2,1./AL(5) |
if(TRKDEBUG) print*,'mini2: step ',istep,chi2,1./AL(5) |
| 273 |
c$$$ ENDDO |
c$$$ ENDDO |
| 274 |
c$$$ print*,'chi2 -- ',DCHI2 |
c$$$ print*,'chi2 -- ',DCHI2 |
| 275 |
|
|
| 276 |
|
IF(ISTEP.LT.3) GOTO 10 ! ***PP*** |
| 277 |
DO I=1,5 |
DO I=1,5 |
| 278 |
IF(ABS(DAL(I)).GT.ALTOL(I))GOTO 10 !>>>> new step! |
IF(ABS(DAL(I)).GT.ALTOL(I))GOTO 10 !>>>> new step! |
| 279 |
ENDDO |
ENDDO |