diff options
author | Chris Schlaeger <chris@linux.com> | 2017-07-27 21:42:06 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2017-07-27 21:42:06 +0200 |
commit | b5902d065b8661ea0f3c85535e619e3a62094d4c (patch) | |
tree | d2a730361501b4318fae0600613c591464689fab /lib | |
parent | e9d4fb221e4b8cccafc4022ed2cbc975a3bf04e6 (diff) | |
download | postrunner-b5902d065b8661ea0f3c85535e619e3a62094d4c.zip |
Fix zone index off-by-one bug.
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 4ed1bdc..8e698c7 100644 --- a/lib/postrunner/ActivitySummary.rb +++ b/lib/postrunner/ActivitySummary.rb @@ -213,7 +213,7 @@ module PostRunner zones = gather_hr_zones zones.each do |zone| - t.cell(zone.index) + t.cell(zone.index + 1) t.cell([ 'Warm Up', 'Easy', 'Aerobic', 'Threshold', 'Maximum' ][zone.index]) t.cell(zone.low) t.cell(zone.high) |