summaryrefslogtreecommitdiff
path: root/qmap/libqmap/smo.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 /qmap/libqmap/smo.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 'qmap/libqmap/smo.f90')
-rwxr-xr-xqmap/libqmap/smo.f9038
1 files changed, 19 insertions, 19 deletions
diff --git a/qmap/libqmap/smo.f90 b/qmap/libqmap/smo.f90
index c42de7c6..87994310 100755
--- a/qmap/libqmap/smo.f90
+++ b/qmap/libqmap/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