mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
Add CP Models for Running Power
- PDEstimate now has a run flag, Estimator has 2 passes: rides and runs MultiModel and WSModel are disabled for the same reason they were disabled in CP chart, and to lower the performance impact. - Show CP Models Estimates for Running in RideSummary when the involved activities are all runs. - DataFilter estimate function uses Bike or Run models based on activity type - Metrics Trends charts Estimate allow Bike vs Run selection
This commit is contained in:
@@ -314,7 +314,7 @@ QVector<float> RideFileCache::meanMaxPowerFor(Context *context, QVector<float> &
|
||||
|
||||
if (item->dateTime.date() < from || item->dateTime.date() > to) continue; // not one we want
|
||||
|
||||
if (item->isRun && !wantruns) continue; // they don't want runs
|
||||
if (item->isRun != wantruns) continue; // they don't want these
|
||||
|
||||
// get the power data
|
||||
if (first == true) {
|
||||
|
||||
Reference in New Issue
Block a user