mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 11:36:51 +03:00
nightly
This commit is contained in:
@@ -284,12 +284,16 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
|
||||
{
|
||||
error = "Negative Rate - Returned old value - read value: " + zwvalue;
|
||||
Value = PreValue;
|
||||
stream << std::fixed << std::setprecision(AnzahlNachkomma) << Value;
|
||||
zwvalue = stream.str();
|
||||
}
|
||||
|
||||
if (useMaxRateValue && (abs(Value - PreValue) > MaxRateValue))
|
||||
{
|
||||
error = "Rate too high - Returned old value - read value: " + zwvalue;
|
||||
Value = PreValue;
|
||||
stream << std::fixed << std::setprecision(AnzahlNachkomma) << Value;
|
||||
zwvalue = stream.str();
|
||||
}
|
||||
|
||||
ReturnValue = zwvalue;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user