Skip to content

Commit

Permalink
Fixed Endurance Index scale in CVchart
Browse files Browse the repository at this point in the history
EI = C'/CV, W' in meters and CV in m/s, so EI units are seconds
  • Loading branch information
amtriathlon committed Jul 23, 2015
1 parent f93277b commit 974e137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CPPlot.cpp
Expand Up @@ -618,7 +618,7 @@ CPPlot::plotModel()

// Endurance Index
if (pdModel->hasWPrime() && pdModel->WPrime() && pdModel->hasCP() && pdModel->CP()) {
cpw->eiValue->setText(QString("%1").arg(pdModel->WPrime() / pdModel->CP(), 0, 'f', 0));
cpw->eiValue->setText(QString("%1").arg(3.6 * pdModel->WPrime() / pdModel->CP(), 0, 'f', 0));
}

}
Expand Down

0 comments on commit 974e137

Please sign in to comment.