We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2831478 commit 5bbc2f3Copy full SHA for 5bbc2f3
code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp
@@ -898,7 +898,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime) {
898
#endif
899
900
if (PreValueUse && NUMBERS[j]->PreValueOkay) {
901
- if (NUMBERS[j]->Nachkomma > 0) {
+ if ((NUMBERS[j]->Nachkomma > 0) && (NUMBERS[j]->ChangeRateThreshold > 0)) {
902
double _difference1 = (NUMBERS[j]->PreValue - (NUMBERS[j]->ChangeRateThreshold / pow(10, NUMBERS[j]->Nachkomma)));
903
double _difference2 = (NUMBERS[j]->PreValue + (NUMBERS[j]->ChangeRateThreshold / pow(10, NUMBERS[j]->Nachkomma)));
904
0 commit comments