summaryrefslogtreecommitdiff
path: root/lib/baddata.f90
diff options
context:
space:
mode:
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)