summaryrefslogtreecommitdiff
path: root/lib/refspectrum.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/refspectrum.f90')
-rw-r--r--lib/refspectrum.f9011
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/refspectrum.f90 b/lib/refspectrum.f90
index 68b514f9..862d38f0 100644
--- a/lib/refspectrum.f90
+++ b/lib/refspectrum.f90
@@ -35,7 +35,16 @@ subroutine refspectrum(id2,bclear,brefspec,buseref,fname)
xs=0.
first=.false.
endif
- if(bclear) s=0.
+ if(bclear) then
+ s=0.
+ fil=1.0
+ ref=0.0
+ filter=0.0
+ cfil=0.0
+ xs=0.0
+ nsave=0
+ blastuse=.false.
+ endif
if(brefspec) then
x(0:NH-1)=0.001*id2(1:NH)