mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 03:56:57 +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;
|
error = "Negative Rate - Returned old value - read value: " + zwvalue;
|
||||||
Value = PreValue;
|
Value = PreValue;
|
||||||
|
stream << std::fixed << std::setprecision(AnzahlNachkomma) << Value;
|
||||||
|
zwvalue = stream.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (useMaxRateValue && (abs(Value - PreValue) > MaxRateValue))
|
if (useMaxRateValue && (abs(Value - PreValue) > MaxRateValue))
|
||||||
{
|
{
|
||||||
error = "Rate too high - Returned old value - read value: " + zwvalue;
|
error = "Rate too high - Returned old value - read value: " + zwvalue;
|
||||||
Value = PreValue;
|
Value = PreValue;
|
||||||
|
stream << std::fixed << std::setprecision(AnzahlNachkomma) << Value;
|
||||||
|
zwvalue = stream.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue = zwvalue;
|
ReturnValue = zwvalue;
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user