WSJT-X/libm65/chkhist.f90
Joe Taylor 9dd0cddffa First steps in long journey toward QRA64 in MAP65.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7473 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-01-10 16:00:12 +00:00

24 lines
313 B
Fortran

subroutine chkhist(mrsym,nmax,ipk)
integer mrsym(63)
integer hist(0:63)
do i=0,63
hist(i)=0
enddo
do j=1,63
i=mrsym(j)
hist(i)=hist(i)+1
enddo
nmax=0
do i=0,63
if(hist(i).gt.nmax) then
nmax=hist(i)
ipk=i+1
endif
enddo
return
end subroutine chkhist