mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 20:16:55 +03:00
nightly
This commit is contained in:
@@ -271,13 +271,13 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
|
||||
|
||||
if ((!AllowNegativeRates) && (Value < PreValue))
|
||||
{
|
||||
error = "Negative Rate - Return old value - " + zwvalue;
|
||||
error = "Negative Rate - Returned old value - read value: " + zwvalue;
|
||||
Value = PreValue;
|
||||
}
|
||||
|
||||
if (useMaxRateValue && ((Value - PreValue) > MaxRateValue))
|
||||
if (useMaxRateValue && (abs(Value - PreValue) > MaxRateValue))
|
||||
{
|
||||
error = "Negative Rate - Return old value - " + zwvalue;
|
||||
error = "Rate too high - Returned old value - read value: " + zwvalue;
|
||||
Value = PreValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user