1 SUBROUTINE dqpsrt(LIMIT,LAST,MAXERR,ERMAX,ELIST,IORD,NRMAX)
55 DOUBLE PRECISION elist,ermax,errmax,errmin
56 INTEGER i,ibeg,ido,iord,isucc,j,jbnd,jupbn,k,last,
limit,maxerr,
64 IF(last.GT.2) go to 10
74 10 errmax = elist(maxerr)
75 IF(nrmax.EQ.1) go to 30
80 IF(errmax.LE.elist(isucc)) go to 30
98 IF(ibeg.GT.jbnd) go to 50
102 IF(errmax.GE.elist(isucc)) go to 60
105 50 iord(jbnd) = maxerr
111 60 iord(i-1) = maxerr
116 IF(errmin.LT.elist(isucc)) go to 80
126 90 maxerr = iord(nrmax)
127 ermax = elist(maxerr)