From d83a420f0517d7fc47aeb288a6a0cf4891784fcc Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 22 Jun 2026 12:03:44 +0200 Subject: New upstream version 3.0.2+dfsg --- map65/libm65/set.f90 | 47 ++++++++++++++++------------------------------- 1 file changed, 16 insertions(+), 31 deletions(-) (limited to 'map65/libm65/set.f90') 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 -- cgit v1.2.3