summaryrefslogtreecommitdiff
path: root/lib/smo.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-01-09 22:12:06 +0100
committerChristoph Berg <myon@debian.org>2025-01-09 22:12:06 +0100
commit992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (patch)
treefbfdfe6bcb0a8a114be2480dac53d88c977e4869 /lib/smo.f90
parent4320ce238aae1fe87fc9f379cdd816e9317885fa (diff)
New upstream version 2.7.0~rc8+repackupstream/2.7.0_rc8+repack
Diffstat (limited to 'lib/smo.f90')
-rwxr-xr-xlib/smo.f9038
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/smo.f90 b/lib/smo.f90
index 87994310..c42de7c6 100755
--- a/lib/smo.f90
+++ b/lib/smo.f90
@@ -1,19 +1,19 @@
-subroutine smo(x,npts,y,nadd)
-
- real x(npts)
- real y(npts)
-
- nh=nadd/2
- do i=1+nh,npts-nh
- sum=0.
- do j=-nh,nh
- sum=sum + x(i+j)
- enddo
- y(i)=sum
- enddo
- x=y
- x(:nh)=0.
- x(npts-nh+1:)=0.
-
- return
-end subroutine smo
+subroutine smo(x,npts,y,nadd)
+
+ real x(npts)
+ real y(npts)
+
+ nh=nadd/2
+ do i=1+nh,npts-nh
+ sum=0.
+ do j=-nh,nh
+ sum=sum + x(i+j)
+ enddo
+ y(i)=sum
+ enddo
+ x=y
+ x(:nh)=0.
+ x(npts-nh+1:)=0.
+
+ return
+end subroutine smo