mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix boundary condition in Estimator
Last activity is not considered when it starts a new 7 day period. Fixes #4220
This commit is contained in:
@@ -232,7 +232,7 @@ Estimator::run()
|
||||
// from has first ride with Power data / looking at the next 7 days of data with Power
|
||||
// calculate Estimates for all data per week including the week of the last Power recording
|
||||
QDate date = from;
|
||||
while (date < to) {
|
||||
while (date <= to) {
|
||||
|
||||
// check if we've been asked to stop
|
||||
if (abort == true) {
|
||||
|
||||
Reference in New Issue
Block a user