Correct a longstanding flaw in azdist(). This change should be committed to the v1.8.1 tag.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8327 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-12-14 13:49:06 +00:00
parent d526d42078
commit 35d9e53529

View File

@ -12,10 +12,10 @@ subroutine azdist(grid1,grid2,utch,nAz,nEl,nDmiles,nDkm,nHotAz,nHotABetter)
data mygrid0/" "/,hisgrid0/" "/,utch0/-999.d0/ data mygrid0/" "/,hisgrid0/" "/,utch0/-999.d0/
save save
MyGrid=grid1 MyGrid=grid1//' '
HisGrid=grid2 HisGrid=grid2//' '
if(ichar(grid1(5:5)).eq.0) MyGrid(5:6)=' ' if(ichar(MyGrid(5:5)).eq.0) MyGrid(5:6)=' '
if(ichar(grid2(5:5)).eq.0) HisGrid(5:6)=' ' if(ichar(HisGrid(5:5)).eq.0) HisGrid(5:6)=' '
if(MyGrid.eq.HisGrid) then if(MyGrid.eq.HisGrid) then
naz=0 naz=0