aboutsummaryrefslogtreecommitdiff
path: root/Fakeline.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 /Fakeline.f
parentc396a4bc7a3282de9d2191de0e1076fec9df0783 (diff)
downloadmoog-70fd14e98bc476a84aef352eaf063cfcba44ab83.tar.gz
Use modern equality operators
Diffstat (limited to 'Fakeline.f')
-rwxr-xr-xFakeline.f6
1 files changed, 3 insertions, 3 deletions
diff --git a/Fakeline.f b/Fakeline.f
index 076bf18..c52e731 100755
--- a/Fakeline.f
+++ b/Fakeline.f
@@ -30,11 +30,11 @@ c*****here we use a real Fe I line because it has Barklem damping data
alphabk(1) = 0.238
gambark(1) = 10.**gammabk(1)
alpbark(1) = (1.-alphabk(1))/2.
- if (dampingopt .eq. 0) then
+ if (dampingopt == 0) then
damptype(1) = 'UNSLDc6'
- elseif (dampingopt .eq. 1) then
+ elseif (dampingopt == 1) then
damptype(1) = 'BKgamma'
- elseif (dampingopt .eq. 2) then
+ elseif (dampingopt == 2) then
damptype(1) = 'BLKWLc6'
else
damptype(1) = 'NEXTGEN'