Bugfix: Cadence/Speed computation incorrectly truncated time to long instead of float.

This commit is contained in:
Dennis Guse
2020-05-10 16:36:26 +02:00
parent e3a8143d58
commit e55924dae3
4 changed files with 45 additions and 14 deletions
@@ -17,7 +17,7 @@ public class UintUtils {
if (a < 0 || b < 0) {
return -1;
}
if (a > UINT_MAX && b > UINT_MAX) {
if (a > UINT_MAX || b > UINT_MAX) {
return -1;
}