1
0

Comparators: use <= in comparison mode

This commit is contained in:
Tiger Wang 2020-07-26 14:15:34 +01:00
parent 4e5ab02a58
commit 2e18e4f51c

View File

@ -22,7 +22,7 @@ public:
else else
{ {
// Comparison mode // Comparison mode
return (std::max(a_HighestSidePowerLevel, a_HighestRearPowerLevel) == a_HighestSidePowerLevel) ? 0 : a_HighestRearPowerLevel; return (a_HighestRearPowerLevel < a_HighestSidePowerLevel) ? 0 : a_HighestRearPowerLevel;
} }
} }