summaryrefslogtreecommitdiff
path: root/lib/baddata.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/baddata.f90
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/baddata.f90')
-rw-r--r--lib/baddata.f906
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/baddata.f90 b/lib/baddata.f90
index edacc1d5..378de8d6 100644
--- a/lib/baddata.f90
+++ b/lib/baddata.f90
@@ -15,8 +15,10 @@ logical function baddata(id2,nz)
sq=sq + x*x
enddo
rms=sqrt(sq/nadd)
- smin=min(smin,rms)
- smax=max(smax,rms)
+ if(i.gt.6) then
+ smin=min(smin,rms)
+ smax=max(smax,rms)
+ endif
enddo
sratio=smax/(smin+1.e-30)