From 25de00778af52167266daceb7c04656df0bdf949 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Thu, 7 Nov 2013 12:55:11 +0000 Subject: [PATCH] Fix smoothing bug in Allplot for xPower and aPower --- src/AllPlot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AllPlot.cpp b/src/AllPlot.cpp index 2f64cfc9f..474331ce8 100644 --- a/src/AllPlot.cpp +++ b/src/AllPlot.cpp @@ -692,8 +692,8 @@ AllPlot::recalc() (!hrArray.empty() ? hrArray[i] : 0), (!wattsArray.empty() ? wattsArray[i] : 0), (!npArray.empty() ? npArray[i] : 0), - (!xpArray.empty() ? xpArray[i] : 0), (!apArray.empty() ? apArray[i] : 0), + (!xpArray.empty() ? xpArray[i] : 0), (!speedArray.empty() ? speedArray[i] : 0), (!cadArray.empty() ? cadArray[i] : 0), (!altArray.empty() ? altArray[i] : 0), @@ -741,8 +741,8 @@ AllPlot::recalc() DataPoint &dp = list.front(); totalWatts -= dp.watts; totalNP -= dp.np; - totalXP -= dp.xp; totalAP -= dp.ap; + totalXP -= dp.xp; totalHr -= dp.hr; totalSpeed -= dp.speed; totalCad -= dp.cad;