diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp index d83adc7f..2b0389de 100644 --- a/src/KeyFrame.cpp +++ b/src/KeyFrame.cpp @@ -327,11 +327,7 @@ bool Keyframe::IsIncreasing(int index) } } - if (current_value < next_value) { - // Increasing - return true; - } - else if (current_value >= next_value) { + if (current_value >= next_value) { // Decreasing return false; }