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.
This commit is contained in:
Tomek Kopczuk
2024-11-19 23:14:24 +01:00
committed by GitHub
parent 14e9d6a9cc
commit 25ae0465d8

View File

@@ -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]);
}