Skip to content

Commit

Permalink
Fix 'AnalogToDigitTransitionStart' always using 9.2 regardless of the…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
tkopczuk authored Nov 19, 2024
1 parent 14e9d6a commit 25ae046
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}

Expand Down

0 comments on commit 25ae046

Please sign in to comment.