diff options
author | Chris Schlaeger <chris@linux.com> | 2014-09-11 22:27:39 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-09-11 22:27:39 +0200 |
commit | 5eb7bcc8381082f5bcd4b69de40c3b4595152be6 (patch) | |
tree | b052c1c4869cc8d7f8ba8ed401eba11dc4305935 /lib | |
parent | 3add3cbc47b4664d0795d1587ec2e7459e349994 (diff) | |
download | postrunner-5eb7bcc8381082f5bcd4b69de40c3b4595152be6.zip |
Fix: Avg. run candence was off by a factor of 2 in summary.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/postrunner/ActivitySummary.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/ActivitySummary.rb b/lib/postrunner/ActivitySummary.rb index ed4cbf5..57935b2 100644 --- a/lib/postrunner/ActivitySummary.rb +++ b/lib/postrunner/ActivitySummary.rb @@ -76,7 +76,7 @@ module PostRunner session.total_training_effect : '-' ]) t.row([ 'Avg. Run Cadence:', session.avg_running_cadence ? - "#{session.avg_running_cadence.round} spm" : '-' ]) + "#{(2 * session.avg_running_cadence).round} spm" : '-' ]) t.row([ 'Avg. Vertical Oscillation:', local_value(session, 'avg_vertical_oscillation', '%.1f %s', { :metric => 'cm', :statute => 'in' }) ]) |