aboutsummaryrefslogtreecommitdiff
path: root/Plotit.f
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2021-08-04 15:18:08 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2021-08-04 15:18:08 -0400
commit70fd14e98bc476a84aef352eaf063cfcba44ab83 (patch)
tree2737f5c1c21c76824f49c6a1b9c7061952b646f5 /Plotit.f
parentc396a4bc7a3282de9d2191de0e1076fec9df0783 (diff)
downloadmoog-70fd14e98bc476a84aef352eaf063cfcba44ab83.tar.gz
Use modern equality operators
Diffstat (limited to 'Plotit.f')
-rwxr-xr-xPlotit.f12
1 files changed, 6 insertions, 6 deletions
diff --git a/Plotit.f b/Plotit.f
index ac7277c..d4e8c42 100755
--- a/Plotit.f
+++ b/Plotit.f
@@ -21,7 +21,7 @@ c spectra (output), and (if desired) IRAF-style smoothed spectra (output)
nchars = 19
call infile ('input ',nf2out,'formatted ',0,nchars,
. f2out,lscreen)
- if (plotopt .ne. 0) then
+ if (plotopt /= 0) then
nf3out = 22
lscreen = lscreen + 2
array = 'SMOOTHED SYNTHESES OUTPUT'
@@ -35,7 +35,7 @@ c spectra (output), and (if desired) IRAF-style smoothed spectra (output)
call infile ('output ',nf5out,'formatted ',0,nchars,
. f5out,lscreen)
endif
- if (plotopt .gt. 1) then
+ if (plotopt > 1) then
nf6out = 27
lscreen = lscreen + 2
array = 'SPECTRUM COMPARISON OUTPUT'
@@ -43,7 +43,7 @@ c spectra (output), and (if desired) IRAF-style smoothed spectra (output)
call infile ('output ',nf6out,'formatted ',0,nchars,
. f6out,lscreen)
endif
- if (iraf .ne. 0) then
+ if (iraf /= 0) then
nf4out = 23
lscreen = lscreen + 2
array = 'IRAF ("rtext") OUTPUT'
@@ -54,12 +54,12 @@ c spectra (output), and (if desired) IRAF-style smoothed spectra (output)
c*****now plot the spectrum
- if (plotopt.eq.2 .and. specfileopt.gt.0) then
+ if (plotopt==2 .and. specfileopt>0) then
nfobs = 33
lscreen = lscreen + 2
array = 'THE OBSERVED SPECTRUM'
nchars = 21
- if (specfileopt.eq.1 .or. specfileopt.eq.3) then
+ if (specfileopt==1 .or. specfileopt==3) then
call infile ('input ',nfobs,'unformatted',2880,nchars,
. fobs,lscreen)
else
@@ -67,7 +67,7 @@ c*****now plot the spectrum
. fobs,lscreen)
endif
endif
- if (plotopt .ne. 0) then
+ if (plotopt /= 0) then
line = 10
ncall = 1
call pltspec (line,ncall)