Correction for mars.wavelength for the MTG2Switch

This commit is contained in:
Robert Osinski 2024-12-05 15:31:06 +00:00
parent 43e9c9a242
commit 2b232aed75
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ constant billion = 1000000000 : hidden;
meta firstWavelengthInNanometres multdouble(firstWavelength, billion) : read_only;
meta secondWavelengthInNanometres multdouble(secondWavelength, billion) : read_only;
if (defined(MTG2Switch) and MTG2Switch == 0) {
if (defined(MTG2Switch) and MTG2Switch != 0) {
# typeOfWavelengthInterval (table 4.91 specifies if first / second / first+second limit(s) are to be defined)
if ( typeOfWavelengthInterval == 0 || typeOfWavelengthInterval == 3 || typeOfWavelengthInterval == 5 || typeOfWavelengthInterval == 8 || typeOfWavelengthInterval == 11 ){
alias mars.wavelength = firstWavelengthInNanometres ;