summaryrefslogtreecommitdiff
path: root/map65/libm65/set.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /map65/libm65/set.f90
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'map65/libm65/set.f90')
-rw-r--r--map65/libm65/set.f9047
1 files changed, 16 insertions, 31 deletions
diff --git a/map65/libm65/set.f90 b/map65/libm65/set.f90
index ff767988..4bf3a30f 100644
--- a/map65/libm65/set.f90
+++ b/map65/libm65/set.f90
@@ -1,31 +1,16 @@
-subroutine set(a,y,n)
- real y(n)
- do i=1,n
- y(i)=a
- enddo
- return
-end subroutine set
-
-subroutine move(x,y,n)
- real x(n),y(n)
- do i=1,n
- y(i)=x(i)
- enddo
- return
-end subroutine move
-
-subroutine zero(x,n)
- real x(n)
- do i=1,n
- x(i)=0.0
- enddo
- return
-end subroutine zero
-
-subroutine add(a,b,c,n)
- real a(n),b(n),c(n)
- do i=1,n
- c(i)=a(i)+b(i)
- enddo
- return
-end subroutine add
+module set_mod
+ implicit none
+contains
+
+ subroutine move(x,y,n)
+ implicit none
+ integer, intent(in) :: n
+ integer, intent(in) :: x(n)
+ integer, intent(out) :: y(n)
+ integer :: i
+ do i=1,n
+ y(i)=x(i)
+ enddo
+ end subroutine move
+
+end module set_mod