diff --git a/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp b/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp index 6ed4cdfd8..5b3c89c27 100644 --- a/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp +++ b/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp @@ -157,7 +157,7 @@ int ClassFlowCNNGeneral::PointerEvalHybridNew(float number, float number_of_pred // we use the recognition as given. The result is the int value of the recognition // add precisition of 2 digits and round before trunc // a number greater than 9.994999 is returned as 10, this leads to an error during the decimal shift because the NUMBERS[j]->ReturnRawValue is one digit longer. - // To avoid this, an additional test must be carried out, see "if (CNNType == Digit)" check in getReadout() + // To avoid this, an additional test must be carried out, see "if ((CNNType == DoubleHyprid10) || (CNNType == Digit100))" check in getReadout() // Another alternative would be "result = (int) ((int) trunc(round((number+10 % 10)*1000))) / 1000;", which could, however, lead to other errors? result = (int) ((int) trunc(round((number+10 % 10)*100)) ) / 100;