aboutsummaryrefslogtreecommitdiff
path: root/Wavecalc.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 /Wavecalc.f
parentc396a4bc7a3282de9d2191de0e1076fec9df0783 (diff)
downloadmoog-70fd14e98bc476a84aef352eaf063cfcba44ab83.tar.gz
Use modern equality operators
Diffstat (limited to 'Wavecalc.f')
-rwxr-xr-xWavecalc.f8
1 files changed, 4 insertions, 4 deletions
diff --git a/Wavecalc.f b/Wavecalc.f
index 238eaf7..7b4cf0d 100755
--- a/Wavecalc.f
+++ b/Wavecalc.f
@@ -8,12 +8,12 @@ c******************************************************************************
real*4 point
real*8 c(9)
- if (c(9) .eq. 1.) go to 20
- if (c(9) .eq. 2.) go to 40
- if (c(9) .eq. 3.) go to 30
+ if (c(9) == 1.) go to 20
+ if (c(9) == 2.) go to 40
+ if (c(9) == 3.) go to 30
c*****no wavelength solution exists
- if (c(1).eq.0. .or. c(2).eq.0.) then
+ if (c(1)==0. .or. c(2)==0.) then
wavecalc = point
c*****an ordinary polynomial solution