diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
| commit | 37f727ac0746fd85504aa46c1f023c09b3eff33a (patch) | |
| tree | c8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/smo.f90 | |
| parent | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff) | |
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/smo.f90')
| -rw-r--r-- | lib/smo.f90 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/smo.f90 b/lib/smo.f90 index 94a33784..c42de7c6 100644 --- a/lib/smo.f90 +++ b/lib/smo.f90 @@ -11,13 +11,9 @@ subroutine smo(x,npts,y,nadd) enddo y(i)=sum enddo - y(:nh)=0. - y(npts-nh+1:)=0. - - fac=1.0/nadd - do i=1,npts - x(i)=fac*y(i) - enddo + x=y + x(:nh)=0. + x(npts-nh+1:)=0. return end subroutine smo |
