Просмотр исходного кода

Fix 'AnalogToDigitTransitionStart' always using 9.2 regardless of the configured value.

After the recent parameter rename we're trying to compare the toUpper version of the config parameter against "AnalogToDigitTransitionStart" - which will always fail - hence always using the default value of 9.2.
Tomek Kopczuk 1 год назад
Родитель
Сommit
25ae0465d8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp

+ 1 - 1
code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp

@@ -564,7 +564,7 @@ bool ClassFlowPostProcessing::ReadParameter(FILE* pfile, string& aktparamgraph)
             handleDecimalSeparator(splitted[0], splitted[1]);
         }
 	    
-        if ((toUpper(_param) == "AnalogToDigitTransitionStart") && (splitted.size() > 1)) {
+        if ((toUpper(_param) == "ANALOGTODIGITTRANSITIONSTART") && (splitted.size() > 1)) {
             handleAnalogToDigitTransitionStart(splitted[0], splitted[1]);
         }