mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Removed redundant assert in BestIntervalDialog.cpp. It is redundant because it is executed prior to a logic check for the same condition. The assert check has been shown to be unreliable due to inherent inaccuracies in float arithmetic and comparisons for example, according to the IEEE specs 1000.2 - 1000.0 will be stored as 0.200012. This inherent problem with floats is particularly relevant in this code since it is dealing with interval durations and recording intervals which are expressed to a precision of 100th or even 1000th of a second. Fixes #99.
11 KiB
11 KiB