summaryrefslogtreecommitdiff
path: root/lib/chkhist.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /lib/chkhist.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/chkhist.f90')
-rw-r--r--[-rwxr-xr-x]lib/chkhist.f9042
1 files changed, 21 insertions, 21 deletions
diff --git a/lib/chkhist.f90 b/lib/chkhist.f90
index 6aa4a807..116fe90c 100755..100644
--- a/lib/chkhist.f90
+++ b/lib/chkhist.f90
@@ -1,21 +1,21 @@
-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
+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