mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
Fencepost error on CP intervals
.. caused the meanmax curve for an interval to be recomputed every time even though we'd gone to all those lengths to cache them.
This commit is contained in:
@@ -373,7 +373,7 @@ CriticalPowerWindow::intervalSelected()
|
||||
|
||||
// clear, resize to interval count and set to null
|
||||
intervalCurves.clear();
|
||||
for (int i=0; i<= context->athlete->allIntervalItems()->childCount(); i++) intervalCurves << NULL;
|
||||
for (int i=0; i< context->athlete->allIntervalItems()->childCount(); i++) intervalCurves << NULL;
|
||||
}
|
||||
|
||||
// which itervals are selected?
|
||||
|
||||
Reference in New Issue
Block a user