summaryrefslogtreecommitdiff
path: root/map65/libm65/chkhist.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /map65/libm65/chkhist.f90
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'map65/libm65/chkhist.f90')
-rwxr-xr-xmap65/libm65/chkhist.f9046
1 files changed, 23 insertions, 23 deletions
diff --git a/map65/libm65/chkhist.f90 b/map65/libm65/chkhist.f90
index c814c3ca..a8b272a6 100755
--- a/map65/libm65/chkhist.f90
+++ b/map65/libm65/chkhist.f90
@@ -1,23 +1,23 @@
-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
+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