mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-05 00:41:19 -05:00
3dc6abc0c1
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3462 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
22 lines
308 B
Fortran
22 lines
308 B
Fortran
subroutine chkhist(mrsym,nmax,ipk)
|
|
|
|
integer mrsym(63)
|
|
integer hist(0:63)
|
|
|
|
hist=0
|
|
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
|