Disable Power Index for running

We don't have standard model parameters for running, yet.
This commit is contained in:
Alejandro Martinez
2022-07-06 20:13:34 -03:00
parent da01a8f39b
commit 086be52ad9

View File

@@ -569,7 +569,7 @@ void Banister::fit()
// power index metric
double powerIndex(double averagepower, double duration, bool isRun)
{
Q_UNUSED(isRun); // TODO: different parameters for Running
if (isRun) return RideFile::NIL; // TODO: different parameters for Running
// so now lets work out what the 3p model says the
// typical athlete would do for the same duration