Skip to content

Commit 7a93cd0

Browse files
authored
Merge pull request #231 from eisneinechse/develop
Simplification
2 parents 7c20910 + c55d855 commit 7a93cd0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/KeyFrame.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,7 @@ bool Keyframe::IsIncreasing(int index)
327327
}
328328
}
329329

330-
if (current_value < next_value) {
331-
// Increasing
332-
return true;
333-
}
334-
else if (current_value >= next_value) {
330+
if (current_value >= next_value) {
335331
// Decreasing
336332
return false;
337333
}

0 commit comments

Comments
 (0)