mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-11 22:16:56 +03:00
nightly
This commit is contained in:
@@ -74,7 +74,7 @@ bool ClassFlowAlignment::doFlow(string time)
|
||||
|
||||
CRotate *rt;
|
||||
|
||||
if (this->initalrotate != 0)
|
||||
if (initalrotate != 0)
|
||||
{
|
||||
rt = new CRotate(input);
|
||||
rt->Rotate(this->initalrotate);
|
||||
|
||||
@@ -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