aboutsummaryrefslogtreecommitdiff
path: root/Boxit.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 /Boxit.f
parentc396a4bc7a3282de9d2191de0e1076fec9df0783 (diff)
downloadmoog-70fd14e98bc476a84aef352eaf063cfcba44ab83.tar.gz
Use modern equality operators
Diffstat (limited to 'Boxit.f')
-rwxr-xr-xBoxit.f10
1 files changed, 5 insertions, 5 deletions
diff --git a/Boxit.f b/Boxit.f
index f87ea9a..62fa63a 100755
--- a/Boxit.f
+++ b/Boxit.f
@@ -15,16 +15,16 @@ c******************************************************************************
c*****if only a synthetic spectrum is being plotted, use beginning and
c end points of the synthetic spectrum instead of those of the observed
c spectrum
- if (plotopt .lt. 2) then
+ if (plotopt < 2) then
do i=1,kount
- if (xlo .le. xsyn(i)) then
+ if (xlo <= xsyn(i)) then
lim1obs = i
go to 10
endif
enddo
lim1obs = kount
10 do i=lim1obs,kount
- if (xhi .lt. xsyn(i)) then
+ if (xhi < xsyn(i)) then
lim2obs = i -1
return
endif
@@ -36,14 +36,14 @@ c spectrum
c*****and here is the same logic when an observed spectrum exists
else
do i=1,lount
- if (xlo .le. xobs(i)) then
+ if (xlo <= xobs(i)) then
lim1obs = i
go to 20
endif
enddo
lim1obs = lount
20 do i=lim1obs,lount
- if (xhi .lt. xobs(i)) then
+ if (xhi < xobs(i)) then
lim2obs = i -1
return
endif